diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-23 19:18:47 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-25 16:05:12 +0300 |
commit | 314917828af997bcd4abe0b748a254d562f6023a (patch) | |
tree | f04aa9db8601b0bbb909dab03eeb6fea7e36b723 /src/include | |
parent | a4036e668134d1ad9637534bac1e0cb55d0a2b36 (diff) | |
download | libmicrohttpd-314917828af997bcd4abe0b748a254d562f6023a.tar.gz libmicrohttpd-314917828af997bcd4abe0b748a254d562f6023a.zip |
MHD_get_connection_info(): Fixed possible unaligned access
Also:
* Reduced number of 'MHD_Connection' members.
* Fixed wrong value of returned timeout on some platforms, if timeout
is too large.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/microhttpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index f91c1cd0..cf8216d0 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -4429,6 +4429,8 @@ MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, | |||
4429 | 4429 | ||
4430 | /** | 4430 | /** |
4431 | * Obtain information about the given connection. | 4431 | * Obtain information about the given connection. |
4432 | * The returned pointer is invalidated with the next call of this function or | ||
4433 | * when the connection is closed. | ||
4432 | * | 4434 | * |
4433 | * @param connection what connection to get information about | 4435 | * @param connection what connection to get information about |
4434 | * @param info_type what information is desired? | 4436 | * @param info_type what information is desired? |