[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SSL layer bug

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2002-09-07 01:33:57 CEST

On Fri, Sep 06, 2002 at 07:14:24PM -0300, Gustavo Niemeyer wrote:
...
> [...]
> A XFree86/SOURCES/XFree86-locale.alias.bz2
> A XFree86/SOURCES/XFree86-4.2.0.tar.bz2
> A XFree86/SOURCES/XFree86-Xsetup_0.conectiva
> svn: RA layer request failed
> svn: could not checkout a file
> svn: GET of
> /repos/cnc/!svn/bc/14857/snapshot/XFree86/current/SOURCES/XFree86-Xs
> etup_0.conectiva: Could not read status line: Secure connection
> truncated

Hi - does the neon patch below make these errors go away? The error
should not occur if the server implements HTTP-over-SSL correctly, so
there is probably a server bug here somewhere. An ssldump trace would
be needed to be sure.

--- src/ne_request.c 30 Aug 2002 21:02:43 -0000 1.102
+++ src/ne_request.c 6 Sep 2002 22:24:11 -0000
@@ -892,9 +892,8 @@
  * appropriate return value given a 'retry' flag, the socket error
  * 'code', and the return value 'acode' from the aborted() function. */
 #define RETRY_RET(retry, code, acode) \
-((((code) == NE_SOCK_CLOSED || (code) == NE_SOCK_RESET) && retry) \
-? NE_RETRY : (acode))
-/* TODO: probably need NE_SOCK_TRUNC in there too. */
+((((code) == NE_SOCK_CLOSED || (code) == NE_SOCK_RESET || \
+ (code) == NE_SOCK_TRUNC) && retry) ? NE_RETRY : (acode))
 
 /* Read and parse response status-line into 'status'. 'retry' is non-zero
  * if an NE_RETRY should be returned if an EOF is received. */

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 7 01:34:38 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.