aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/response.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-11 16:09:17 +0000
committerChristian Grothoff <christian@grothoff.org>2016-10-11 16:09:17 +0000
commitef7fe75ff225665f2dbea1bc773d9ce3862a2866 (patch)
tree29cb3dc8454f64004d0475b478144eb1415b05b4 /src/microhttpd/response.c
parenta90ba78c016404a02eb9c81a9fd82694e00b10fb (diff)
downloadlibmicrohttpd-ef7fe75ff225665f2dbea1bc773d9ce3862a2866.tar.gz
libmicrohttpd-ef7fe75ff225665f2dbea1bc773d9ce3862a2866.zip
deprecate USE_SSL for USE_TLS, rename in code
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r--src/microhttpd/response.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index cc1d2028..01bd3777 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -638,7 +638,7 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
638 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION) ) 638 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION) )
639 { 639 {
640#if HTTPS_SUPPORT 640#if HTTPS_SUPPORT
641 if (0 != (daemon->options & MHD_USE_SSL) ) 641 if (0 != (daemon->options & MHD_USE_TLS) )
642 { 642 {
643 /* signal thread that app is done by shutdown() of 'app' socket */ 643 /* signal thread that app is done by shutdown() of 'app' socket */
644 shutdown (urh->app.socket, 644 shutdown (urh->app.socket,
@@ -650,7 +650,7 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
650 return MHD_YES; 650 return MHD_YES;
651 } 651 }
652#if HTTPS_SUPPORT 652#if HTTPS_SUPPORT
653 if (0 != (daemon->options & MHD_USE_SSL) ) 653 if (0 != (daemon->options & MHD_USE_TLS) )
654 { 654 {
655 urh->was_closed = MHD_YES; 655 urh->was_closed = MHD_YES;
656 if (MHD_INVALID_SOCKET != urh->app.socket) 656 if (MHD_INVALID_SOCKET != urh->app.socket)
@@ -712,7 +712,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
712 rbo = connection->read_buffer_offset; 712 rbo = connection->read_buffer_offset;
713 connection->read_buffer_offset = 0; 713 connection->read_buffer_offset = 0;
714#if HTTPS_SUPPORT 714#if HTTPS_SUPPORT
715 if (0 != (daemon->options & MHD_USE_SSL) ) 715 if (0 != (daemon->options & MHD_USE_TLS) )
716 { 716 {
717 struct MemoryPool *pool; 717 struct MemoryPool *pool;
718 size_t avail; 718 size_t avail;