You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by sameer <sa...@c2.net> on 1996/11/04 21:04:50 UTC

problem in buff.c

	I was looking at bwrite() and I noticed 

        do i = bcwrite(fb, fb->outbase, fb->bufsiz);
        while (i == -1 && errno == EINTR);

	Shouldn't the errno == EINTR loop be in bcwrite(), wrapped
around write(), rather than how it is now, wrapped around bcwrite().
Seems like if you have chunked encoding and you get an EINTR in a
write() there you have problems.

	Or is this the same bug alexei mentioned? Anyway, I will send
a patch.

-- 
Sameer Parekh					Voice:   510-986-8770
C2Net						FAX:     510-986-8777
The Internet Privacy Provider
http://www.c2.net/				sameer@c2.net