httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <>
Subject problem in buff.c
Date Mon, 04 Nov 1996 20:04:50 GMT
	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

View raw message