rbb 99/02/25 05:43:37
Modified: pthreads/src/main http_protocol.c
Log:
Just a minor change to get the proper file descriptor.
Revision Changes Path
1.6 +1 -1 apache-apr/pthreads/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /home/cvs/apache-apr/pthreads/src/main/http_protocol.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- http_protocol.c 1999/02/24 20:30:18 1.5
+++ http_protocol.c 1999/02/25 13:43:36 1.6
@@ -943,7 +943,7 @@
ap_bnonblock(r->connection->client, B_RD);
while (!read_request_line(r)) {
if (errno == EAGAIN) {
- filedes->fd = r->connection->client->fd_in;
+ filedes->fd = ap_bfileno(r->connection->client, B_RD);
filedes->events = POLLIN;
filedes->revents = 0;
if (poll(filedes, 1, ap_get_timeout(r)) == 0) {