diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-10-16 12:24:33 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-10-16 12:24:33 +0000 |
commit | d85ff478c399cdea8973df53d8c86747377c3b6f (patch) | |
tree | 9aacd9c309a17b5e4ad64d5f53874f7d44cc60c7 /CHANGES | |
parent | 2943ca30e8eb7833af09024ac3a9e8144bd7102c (diff) | |
download | libapr-d85ff478c399cdea8973df53d8c86747377c3b6f.tar.gz |
read_with_timeout in apr/file_io/win32/readwrite.c incorrectly
returned APR_SUCCESS instead of APR_EOF when PeekNamedPipe failed
and the result from GetLastError() was ERROR_BROKEN_PIPE. Because
of this, the pipe wasn't closed as soon as it could be.
Submitted by: Tim Costello <tim.costello@zcmgroup.com.au>
Reviewed by: Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ Changes with APR b1 + *) read_with_timeout in apr/file_io/win32/readwrite.c incorrectly + returned APR_SUCCESS instead of APR_EOF when PeekNamedPipe failed + and the result from GetLastError() was ERROR_BROKEN_PIPE. Because + of this, the pipe wasn't closed as soon as it could be. + [Tim Costello <tim.costello@zcmgroup.com.au>] + *) Fix a problem in the Win32 pipe creation code called by apr_proc_create(): It didn't register cleanups for either the read or the write ends of the pipe, so file handles (and event |