Changeset 657 for trunk/sx/io.c
- Timestamp:
- 09/08/08 22:01:49 (5 months ago)
- Files:
-
- 1 modified
-
trunk/sx/io.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sx/io.c
r620 r657 468 468 /* close the stream if necessary */ 469 469 if(s->state >= state_STREAM_SENT) { 470 _sx_debug(ZONE, "sending closing </stream:stream>"); 470 471 jqueue_push(s->wbufq, _sx_buffer_new("</stream:stream>", 16, NULL, NULL), 0); 471 472 s->want_write = 1; 472 } 473 474 _sx_state(s, state_CLOSING); 473 _sx_state(s, state_CLOSING); 474 _sx_event(s, event_WANT_WRITE, NULL); 475 } else 476 _sx_state(s, state_CLOSING); 475 477 } 476 478
