| 1 | *** /usr/local/src/php-4.0.4pl1/ext/standard/fsock.c.old Mon Mar 26 13:07:40 2001 |
| 2 | --- /usr/local/src/php-4.0.4pl1/ext/standard/fsock.c Mon Mar 26 13:12:03 2001 |
| 3 | *************** |
| 4 | *** 559,564 **** |
| 5 | --- 559,565 ---- |
| 6 | |
| 7 | static void php_sockread_total(php_sockbuf *sock, size_t maxread) |
| 8 | { |
| 9 | + sock->timeout_event = 0; |
| 10 | while(!sock->eof && TOREAD(sock) < maxread && !sock->timeout_event) { |
| 11 | php_sockread_internal(sock); |
| 12 | } |
| 13 | *************** |
| 14 | *** 619,624 **** |
| 15 | --- 620,627 ---- |
| 16 | } |
| 17 | |
| 18 | SEARCHCR(); |
| 19 | + |
| 20 | + sock->timeout_event = 0; |
| 21 | |
| 22 | if(!p) { |
| 23 | if(sock->is_blocked) { |