From 78228d8dc1aa997b90cb0323ed483860c0644315 Mon Sep 17 00:00:00 2001 From: robs Date: Sat, 21 Sep 2002 13:55:35 +0000 Subject: [PATCH] *) [WIN32] Prevent intermittent ReadFile() failures (properly initialize the OVERLAPPED structure). --- CHANGES | 3 +++ mod_fastcgi.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 4b0819c..d9d9299 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ 2.2.13 + *) [WIN32] Prevent intermittent ReadFile() failures (properly initialize the + OVERLAPPED structure). + *) Eliminate need for dummy files for external servers under Apache2 *) Fix auth compatibility mode handling for access checker and authorizer diff --git a/mod_fastcgi.c b/mod_fastcgi.c index bc30f7b..2f9cb0a 100644 --- a/mod_fastcgi.c +++ b/mod_fastcgi.c @@ -3,7 +3,7 @@ * * Apache server module for FastCGI. * - * $Id: mod_fastcgi.c,v 1.138 2002/09/21 03:25:56 robs Exp $ + * $Id: mod_fastcgi.c,v 1.139 2002/09/21 13:55:35 robs Exp $ * * Copyright (c) 1995-1996 Open Market, Inc. * @@ -1485,8 +1485,8 @@ static int npipe_io(fcgi_request * const fr) int recv_pending = 0; int client_send = 0; int rv; - OVERLAPPED rov; - OVERLAPPED sov; + OVERLAPPED rov = { 0 }; + OVERLAPPED sov = { 0 }; HANDLE events[2]; struct timeval timeout; struct timeval dynamic_last_io_time = {0, 0}; -- 2.11.4.GIT