projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29424a8
)
Fix issue with non-blocking TLS connections
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 8 Nov 2010 00:46:07 +0000
(09:46 +0900)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 8 Nov 2010 00:46:07 +0000
(09:46 +0900)
gweb/gweb.c
patch
|
blob
|
history
diff --git
a/gweb/gweb.c
b/gweb/gweb.c
index
dcd5be5
..
72c5cfd
100644
(file)
--- 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;