Commit Graph
4924 Commits
Author SHA1 Message Date
ng0 d7a3f82607 Use s in setsockopt() 2019-07-19 21:36:12 +00:00
ng0 b854bbba20 replace connection->send_cls() 2019-07-19 20:39:19 +00:00
ng0 23a7502ef4 setsockopt(): check return value. 2019-07-19 18:18:53 +00:00
ng0 34c88c2244 combine ifs, fix uninitialized var error 2019-07-19 18:11:40 +00:00
ng0 61b84b6afc comments 2019-07-19 18:01:51 +00:00
Christian Grothoff e9c09cf9ae fix err logic 2019-07-19 19:43:04 +02:00
Christian Grothoff 45a1764cb8 fixes 2019-07-19 19:34:30 +02:00
Christian Grothoff b0d406484d fixes 2019-07-19 19:33:00 +02:00
Christian Grothoff a2fefb3b73 indentation, comments, issue 2019-07-19 19:27:48 +02:00
Christian Grothoff 5847d13f47 inline TLS logic 2019-07-19 19:19:39 +02:00
Christian Grothoff f5170975b4 move TLS branch to right position 2019-07-19 19:12:00 +02:00
ng0 1f08febcc0 mhd_send: change send_tls_adapter() to non-static and export its
prototype, use it in mhd_send.c
2019-07-19 14:38:09 +00:00
ng0 3100e3e368 mhd_send.c: call send_tls_adapter() when TLS is used. 2019-07-18 18:45:17 +00:00
ng0 843b844d64 mhd_send.c: Use daemon from connection struct. 2019-07-18 16:18:30 +00:00
Tim Rühsen 3751044dc8 Add callback to allow OCSP stapling 2019-07-17 12:50:15 +02:00
ng0 2a08acaa21 mhd_send.c: variable declarations (style). 2019-07-16 19:01:44 +00:00
ng0 8edc3b919c adjust 2019-07-11 15:53:53 +00:00
Evgeny Grin (Karlson2k) 90eb831b28 Bump MHD_VERSION to indicate developer version 2019-07-05 23:30:19 +03:00
Evgeny Grin (Karlson2k) 8688527894 Releasing GNU libmicrohttpd 0.9.65 v0.9.65 2019-07-05 23:18:51 +03:00
ng0 67792e0c74 more from connection.c, without checks so far. 2019-07-04 12:22:42 +00:00
ng0 5e99e18f2d mhd_send: start adding logic from send_param_adapter. 2019-07-02 22:21:45 +00:00
Christian Grothoff 31db4990fc fix #5773 2019-06-30 16:50:17 +02:00
ng0 09ef9de1ca mhd_send: Use MHD_SCKT_OPT_BOOL_ for setsockopt optval. 2019-06-25 18:33:48 +00:00
ng0 ee0942b2e0 iAdd headerfile for mhd_send. 2019-06-25 14:05:12 +00:00
ng0 9af4a482e8 mhd_send.c: Try to guess the right branch to close. 2019-06-25 08:01:48 +00:00
ng0 beae0da3ae mhd_send.c: fix compiler error about MSG_MORE when MSG_MORE is undefined. 2019-06-25 08:01:48 +00:00
ng0 56676ae76d Add mhd_send to Makefile, more fixes in mhd_send. 2019-06-25 08:01:47 +00:00
Christian Grothoff 4f9522fa3c restructure a bit to reuse existing send function 2019-06-25 08:01:47 +00:00
ng0 43c21d59f2 mhd_send: Restructure. 2019-06-25 08:01:47 +00:00
Christian Grothoff 0d394e2aae startingpoint 2019-06-25 08:01:47 +00:00
Christian Grothoff 77db4d16b1 fix syntax 2019-06-25 08:01:47 +00:00
Christian Grothoff 8289ed69b7 provide example for use of getsockopt to get MSS 2019-06-25 08:01:47 +00:00
ng0 883c72f9a6 mhd_send: Move return_bytes related code into the right place. 2019-06-25 08:01:46 +00:00
ng0 b474adda08 mhd_send: remove unnecessary comments. 2019-06-25 08:01:46 +00:00
ng0 f824f0352c mhd_send: minor typo 2019-06-25 08:01:46 +00:00
ng0 5181cf5a6e mhd_send: fix switch. 2019-06-25 08:01:46 +00:00
ng0 9914221301 mhd_send 2019-06-25 08:01:46 +00:00
ng0 fedd904512 mhd_send: Add initial version. 2019-06-25 08:01:46 +00:00
Evgeny Grin (Karlson2k) 08a359c388 postprocessor: fixed usage of strlen() in loop 2019-06-23 23:08:55 +03:00
Evgeny Grin (Karlson2k) 3610630cdc daemon.c: minor compiler warning fix 2019-06-23 23:03:38 +03:00
Evgeny Grin (Karlson2k) cedf766b65 Updated ChangeLog 2019-06-23 21:54:07 +03:00
Evgeny Grin (Karlson2k) 55dc42e604 Optimised read buffer allocation 2019-06-17 21:27:18 +03:00
Evgeny Grin (Karlson2k) a275ae6353 try_ready_chunked_body(): remove useless loop, use know free memory
size instead of guessing
2019-06-17 15:01:46 +03:00
Evgeny Grin (Karlson2k) 1f9e183d10 process_request_body(): do not move data if nothing was processed 2019-06-17 15:01:46 +03:00
Evgeny Grin (Karlson2k) 20767d5dec transmit_error_response(): discard read buffer to free space for error response 2019-06-17 15:01:46 +03:00
Evgeny Grin (Karlson2k) 4bc166ee2f test_long_header: use power of two for size to properly test allocations,
test various buffer sizes
2019-06-17 15:01:46 +03:00
Evgeny Grin (Karlson2k) 3cb0b6cf17 MHD_pool_reallocate(): never allocate additional buffer when shrinking 2019-06-17 12:40:01 +03:00
Evgeny Grin (Karlson2k) 03df91fc4c memorypool: comments minor improvements 2019-06-16 21:42:47 +03:00
Evgeny Grin (Karlson2k) 3b42621c66 memorypool: re-commit memory on W32 when resetting pool 2019-06-16 21:42:46 +03:00
Evgeny Grin (Karlson2k) 8646d3e461 memorypool: round mmap allocation for page size 2019-06-16 21:42:46 +03:00