PageRenderTime 10ms CodeModel.GetById 6ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/framework/vendor/phpmailer/docs/timeoutfix.diff

http://zoop.googlecode.com/
Unknown | 23 lines | 20 code | 3 blank | 0 comment | 0 complexity | 9deb296cbd21346d0a454117b384f339 MD5 | raw file
 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) {