diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 00:21:02 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-08 01:00:00 +0300 |
commit | fdf24fa69fb92db404db45f37563729947c9e380 (patch) | |
tree | 6b92c94c0eb4917600e29bcc50d555b0037decc6 | |
parent | bae7dc05a841adfd7788076c83c7c02aa3c57046 (diff) | |
download | libmicrohttpd-fdf24fa69fb92db404db45f37563729947c9e380.tar.gz libmicrohttpd-fdf24fa69fb92db404db45f37563729947c9e380.zip |
Fixed descriptions in comments
-rw-r--r-- | src/include/microhttpd.h | 6 | ||||
-rw-r--r-- | src/microhttpd/internal.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 6f4e76a2..7b37d0f7 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -522,7 +522,7 @@ struct MHD_PostProcessor; | |||
522 | * | 522 | * |
523 | * Starting the daemon may also fail if a particular option is not | 523 | * Starting the daemon may also fail if a particular option is not |
524 | * implemented or not supported on the target platform (i.e. no | 524 | * implemented or not supported on the target platform (i.e. no |
525 | * support for SSL, threads or IPv6). | 525 | * support for TLS, epoll or IPv6). |
526 | */ | 526 | */ |
527 | enum MHD_FLAG | 527 | enum MHD_FLAG |
528 | { | 528 | { |
@@ -1995,9 +1995,7 @@ MHD_queue_response (struct MHD_Connection *connection, | |||
1995 | 1995 | ||
1996 | /** | 1996 | /** |
1997 | * Suspend handling of network data for a given connection. This can | 1997 | * Suspend handling of network data for a given connection. This can |
1998 | * be used to dequeue a connection from MHD's event loop (external | 1998 | * be used to dequeue a connection from MHD's event loop for a while. |
1999 | * select, internal select or thread pool; not applicable to | ||
2000 | * thread-per-connection!) for a while. | ||
2001 | * | 1999 | * |
2002 | * If you use this API in conjunction with a internal select or a | 2000 | * If you use this API in conjunction with a internal select or a |
2003 | * thread pool, you must set the option #MHD_USE_ITC to | 2001 | * thread pool, you must set the option #MHD_USE_ITC to |
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 4f6635b4..77679aaf 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -890,8 +890,7 @@ struct MHD_Connection | |||
890 | 890 | ||
891 | #ifdef UPGRADE_SUPPORT | 891 | #ifdef UPGRADE_SUPPORT |
892 | /** | 892 | /** |
893 | * If this connection was upgraded and if we are using | 893 | * If this connection was upgraded, this points to |
894 | * #MHD_USE_THREAD_PER_CONNECTION or #MHD_USE_TLS, this points to | ||
895 | * the upgrade response details such that the | 894 | * the upgrade response details such that the |
896 | * #thread_main_connection_upgrade()-logic can perform the | 895 | * #thread_main_connection_upgrade()-logic can perform the |
897 | * bi-directional forwarding. | 896 | * bi-directional forwarding. |