Ticket #59: jabberd2_ssl_handshake.patch
| File jabberd2_ssl_handshake.patch, 0.6 KB (added by smoku, 20 months ago) |
|---|
-
jabberd2-2.
diff -ur jabberd2-2.0s11/sx/io.c jabberd2-2.0s11_new/sx/io.c
old new 294 294 295 295 ret = _sx_get_pending_write(s); 296 296 if (ret < 0) { 297 /* fatal error */ 298 /* !!! shut down */ 299 return 0; 297 /* fatal error */ 298 _sx_debug(ZONE, "fatal error after attempt to write on fd %d", s->tag); 299 /* permanent error so inform the app it can kill us */ 300 sx_kill(s); 301 return 0; 300 302 } 301 303 302 304 /* if there's nothing to write, then we're done */
