diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-08 09:46:07 +0900 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-08 09:46:07 +0900 |
commit | 29d07a92570d56ce015c78939ffac26d771004bb (patch) | |
tree | c86a5dbc17585dc43a5a60cfc796fac87b8fb6ca /gweb | |
parent | 29424a8223c0ffe82b1bfdbd35ed15b67dcf44eb (diff) | |
download | connman-29d07a92570d56ce015c78939ffac26d771004bb.tar.gz connman-29d07a92570d56ce015c78939ffac26d771004bb.tar.bz2 connman-29d07a92570d56ce015c78939ffac26d771004bb.zip |
Fix issue with non-blocking TLS connections
Diffstat (limited to 'gweb')
-rw-r--r-- | gweb/gweb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gweb/gweb.c b/gweb/gweb.c index dcd5be58..72c5cfdd 100644 --- a/gweb/gweb.c +++ b/gweb/gweb.c @@ -384,7 +384,8 @@ static gboolean process_send_buffer(struct web_session *session) count = buf->len; if (count == 0) { - if (session->more_data == FALSE) + if (session->request_started == TRUE && + session->more_data == FALSE) session->body_done = TRUE; return FALSE; |