diff options
Diffstat (limited to 'src/microspdy/session.c')
-rw-r--r-- | src/microspdy/session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microspdy/session.c b/src/microspdy/session.c index 46c15a96..1b62f649 100644 --- a/src/microspdy/session.c +++ b/src/microspdy/session.c | |||
@@ -932,6 +932,7 @@ SPDYF_session_write (struct SPDY_Session *session, bool only_one_frame) | |||
932 | //on respones with callbacks it is possible that their is no | 932 | //on respones with callbacks it is possible that their is no |
933 | //data available | 933 | //data available |
934 | if(0 == session->write_buffer_size)//nothing to write | 934 | if(0 == session->write_buffer_size)//nothing to write |
935 | { | ||
935 | if(response_queue != session->response_queue_head) | 936 | if(response_queue != session->response_queue_head) |
936 | { | 937 | { |
937 | //the handler modified the queue | 938 | //the handler modified the queue |
@@ -942,6 +943,7 @@ SPDYF_session_write (struct SPDY_Session *session, bool only_one_frame) | |||
942 | //no need to try the same frame again | 943 | //no need to try the same frame again |
943 | break; | 944 | break; |
944 | } | 945 | } |
946 | } | ||
945 | } | 947 | } |
946 | 948 | ||
947 | session->last_activity = SPDYF_monotonic_time(); | 949 | session->last_activity = SPDYF_monotonic_time(); |