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

Re: file-descriptor probs.

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2001-09-20 00:12:40 CEST

On Wed, Sep 19, 2001 at 02:46:38PM -0500, Ben Collins-Sussman wrote:
> The bug I'm seeing is that the PUT is hanging forever; gdb indicates
> that ne_begin_request is blocking infinitely in sock_readline
> (select()).

That implies the server is waiting for more body, but the client thinks
it's sent it all. Barring server bugs, I guess this could happen if the
file size changed between the ne_set_request_body_fd() call and the
ne_request_dispatch() call.

> My assumption is that somehow the filedescriptor isn't being rewound?

neon actually rewinds the fd itself before sending the request, so I
don't think that could be the problem.

> Maybe? Although apr_file_seek is definitely calling lseek() under the
> hood, and it's return value indicates the position is back at 0.

Can you turn on neon debugging and post a trace?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:42 2006

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.