projects
/
oweals
/
openwrt-ustream-ssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1631251
)
Write pending data after connecting
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 17 Mar 2014 22:21:53 +0000
(23:21 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 17 Mar 2014 22:21:55 +0000
(23:21 +0100)
fixes issues with incoming writes before the ssl negotiation is complete
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ustream-ssl.c
patch
|
blob
|
history
diff --git
a/ustream-ssl.c
b/ustream-ssl.c
index 4526db082e4362d1479cb9c7b6e1258ea394ac60..346a53fdd2bc938b1c492cdcfbd7b39326eb6a81 100644
(file)
--- a/
ustream-ssl.c
+++ b/
ustream-ssl.c
@@
-41,6
+41,7
@@
static void ustream_ssl_check_conn(struct ustream_ssl *us)
us->connected = true;
if (us->notify_connected)
us->notify_connected(us);
+ ustream_write_pending(&us->stream);
}
}