Changeset dd672e2
- Timestamp:
- 2012-11-11T21:52:26Z (12 years ago)
- Branches:
- master
- Children:
- e132b60
- Parents:
- 2fb1262
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/http_client.c
r2fb1262 rdd672e2 302 302 303 303 eof: 304 req->flags |= HTTPC_EOF; 305 304 306 /* Maybe if the webserver is overloaded, or when there's bad SSL 305 307 support... */ -
lib/http_client.h
r2fb1262 rdd672e2 41 41 { 42 42 HTTPC_STREAMING = 1, 43 HTTPC_EOF = 2, 43 44 } http_client_flags_t; 44 45 -
protocols/twitter/twitter_lib.c
r2fb1262 rdd672e2 732 732 { 733 733 struct im_connection *ic = req->data; 734 struct twitter_data *td; 734 735 json_value *parsed; 735 736 int len = 0; … … 738 739 if (!g_slist_find(twitter_connections, ic)) 739 740 return; 741 742 td = ic->proto_data; 743 744 if ((req->flags & HTTPC_EOF) || !req->reply_body) { 745 td->stream = NULL; 746 imcb_error(ic, "Stream closed (%s)", req->status_string); 747 imc_logout(ic, TRUE); 748 return; 749 } 740 750 741 751 printf( "%d bytes in stream\n", req->body_size );
Note: See TracChangeset
for help on using the changeset viewer.