diff src/http/ngx_http_request.h @ 3084:2f35eeea86c2

preload just a single byte to avoid testing file overrun
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Sep 2009 16:59:23 +0000
parents 113cd532b328
children d430c6ab1c99
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -547,7 +547,7 @@ struct ngx_http_request_s {
 typedef struct {
     ngx_http_posted_request_t         terminal_posted_request;
 #if (NGX_HAVE_AIO_SENDFILE)
-    u_char                            preload[4];
+    u_char                            aio_preload;
 #endif
 } ngx_http_ephemeral_t;