diff options
author | jcid <devnull@localhost> | 2008-06-18 14:54:56 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-06-18 14:54:56 +0200 |
commit | ade094e5e1fe99a051c761f54ea0d3bc10854660 (patch) | |
tree | ae50fa9d01161124bec38578095b7e7964c199e1 | |
parent | 27573f759f4066f16f9e891a577b687ad1678552 (diff) |
- Made https dpi flush after sending data (faster for dialups).
-rw-r--r-- | dpi/https.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dpi/https.c b/dpi/https.c index bbfc7ae4..c9c8c78c 100644 --- a/dpi/https.c +++ b/dpi/https.c @@ -251,7 +251,8 @@ static void yes_ssl_support(void) /*Send remaining data*/ while ((retval = SSL_read(ssl_connection, buf, 4096)) > 0 ){ - sock_handler_write(sh, 0, buf, (size_t)retval); + /* flush is good for dialup speed */ + sock_handler_write(sh, 1, buf, (size_t)retval); } } |