Christian Grothoff
|
601164fa35
|
-fix as suggested by EG
|
2016-02-22 13:56:26 +00:00 |
|
Christian Grothoff
|
dcde217787
|
-missunderstanding test...
|
2016-02-22 09:34:46 +00:00 |
|
Christian Grothoff
|
8eb1cd31f5
|
-these tests should pass even if we do not have listen-shutdown
|
2016-02-22 09:32:30 +00:00 |
|
Christian Grothoff
|
8d83647523
|
-check for versions, report tests as skipped if versions missmatch
|
2016-02-20 12:30:43 +00:00 |
|
Christian Grothoff
|
a624909415
|
be more forceful about stopping test clients
|
2016-02-20 12:16:40 +00:00 |
|
Evgeny Grin (Karlson2k)
|
6bda5e7fa7
|
Added more detailed description for test_shutdown_select.c
|
2016-02-19 15:32:37 +00:00 |
|
Evgeny Grin (Karlson2k)
|
e500b2830d
|
Really fixed Makefile for poll test
|
2016-02-06 10:37:44 +00:00 |
|
Evgeny Grin (Karlson2k)
|
25da66197c
|
fixed Makefile for poll test
|
2016-02-05 21:25:12 +00:00 |
|
Evgeny Grin (Karlson2k)
|
96010724e3
|
Added test for checking ability of shutdown() on socket to trigger poll()
|
2016-02-05 20:47:58 +00:00 |
|
Evgeny Grin (Karlson2k)
|
bc162a8e85
|
Fixed test compilation warnings for native W32 x64
|
2016-02-05 20:47:54 +00:00 |
|
Christian Grothoff
|
868e81cb3d
|
bracket correctly
|
2016-02-05 17:27:39 +00:00 |
|
Evgeny Grin (Karlson2k)
|
b1625cb1af
|
Faster drain pipes.
|
2016-02-05 13:15:18 +00:00 |
|
Evgeny Grin (Karlson2k)
|
51aba3944b
|
Fixed MHD_pipe_drain_ with emulated pipes
|
2016-02-05 13:15:14 +00:00 |
|
Evgeny Grin (Karlson2k)
|
101e71a8cf
|
Added some buffer overrun protection, fixed handling of misformed URI with spaces.
|
2016-02-04 11:44:04 +00:00 |
|
Christian Grothoff
|
b2a05d373c
|
trying to fix full signal pipe issue reported on ML
|
2016-02-03 14:43:27 +00:00 |
|
Evgeny Grin (Karlson2k)
|
6767963266
|
Fix running select() on W32 with empty fdsets - W32 return error if no socket is marked in fdsets.
|
2016-01-30 15:57:42 +00:00 |
|
Christian Grothoff
|
a3bfa8a2d6
|
applying cosmetics patch #4137
|
2016-01-28 06:06:50 +00:00 |
|
Evgeny Grin (Karlson2k)
|
d5fddd30e1
|
Reverting serial-tests for now as it not compatible with older automake version used for automated testing.
|
2016-01-25 14:26:11 +00:00 |
|
Evgeny Grin (Karlson2k)
|
22392ce602
|
Added test for checking ability of shutdown() on socket to trigger select()
|
2016-01-25 14:17:43 +00:00 |
|
Christian Grothoff
|
3baed95b7d
|
current zzuf no longer needs, and no longer supports '--'
|
2016-01-23 13:47:22 +00:00 |
|
Christian Grothoff
|
b429ae31a2
|
-check rval
|
2016-01-23 13:09:48 +00:00 |
|
Christian Grothoff
|
bb93b2b5c2
|
-avoid theoretical issue with error_count overflowing depending on libcurl errnos
|
2016-01-23 13:08:27 +00:00 |
|
Evgeny Grin (Karlson2k)
|
f37d75d1f9
|
configure.ac: specify serial tests for automake
|
2016-01-21 20:32:21 +00:00 |
|
Evgeny Grin (Karlson2k)
|
1e11762d5f
|
Reworked code for using accept4(), epoll_create1() and socket() with SOCK_CLOEXEC, SOCK_NONBLOCK and EPOLL_CLOEXEC. On some systems SOCK_CLOEXEC, SOCK_NONBLOCK and EPOLL_CLOEXEC are defined as enum members with the same names so precompiler assume zero value of such macros.
|
2016-01-21 19:53:45 +00:00 |
|
Evgeny Grin (Karlson2k)
|
dcebe56be1
|
Fixed making sockets non-blocking.
|
2016-01-21 17:37:41 +00:00 |
|
Evgeny Grin (Karlson2k)
|
3959a99922
|
daemon.c: refactored code making sockets non-blocking and non-inheritable: cleaned up, clarified and little bit optimized.
|
2016-01-19 21:18:25 +00:00 |
|
Evgeny Grin (Karlson2k)
|
b3be57e5a5
|
Remove workaround for Cygwin and use non-blocking sockets everywhere.
Tested on Cygwin 1.7.28 and 2.4.0 x86/x86_64.
|
2016-01-19 11:21:02 +00:00 |
|
Christian Grothoff
|
f34f90622a
|
update Changelog
|
2016-01-18 22:56:50 +00:00 |
|
Christian Grothoff
|
9363e91e94
|
fixing another one of the open/stat clones
|
2016-01-18 22:14:09 +00:00 |
|
Christian Grothoff
|
a0f69a6671
|
-fixes in code clones()
|
2016-01-18 21:46:56 +00:00 |
|
Christian Grothoff
|
ff4d6dea42
|
-fclose file, even if fileno failed...
|
2016-01-18 21:42:33 +00:00 |
|
Christian Grothoff
|
979e499936
|
-check rval before fstat'ing
|
2016-01-18 21:41:49 +00:00 |
|
Christian Grothoff
|
d9da87668f
|
-fclose file, even if fileno failed...
|
2016-01-18 21:39:09 +00:00 |
|
Christian Grothoff
|
d22012f34d
|
-indenting
|
2016-01-18 21:09:06 +00:00 |
|
Christian Grothoff
|
2aa0b2234d
|
add redundant length check to make static checkers happy and to avoid trouble in the future
|
2016-01-18 20:56:34 +00:00 |
|
Christian Grothoff
|
91e7665945
|
avoid stat/open race, and actually check for regular file (in demo)
|
2016-01-18 20:48:52 +00:00 |
|
Christian Grothoff
|
9a5dece83e
|
eliminate stat/fopen race in example
|
2016-01-18 20:45:12 +00:00 |
|
Christian Grothoff
|
1421e4394f
|
eliminate stat/fopen race in example
|
2016-01-18 20:43:27 +00:00 |
|
Christian Grothoff
|
9be469e2ee
|
use getc() as in demo.c instead of sleep()
|
2016-01-18 20:37:15 +00:00 |
|
Christian Grothoff
|
24305c50dd
|
free user to clarify API usage
|
2016-01-18 20:30:54 +00:00 |
|
Christian Grothoff
|
cef420ebd7
|
free pass to clarify API usage
|
2016-01-18 20:29:38 +00:00 |
|
Christian Grothoff
|
a375ced487
|
-nl issue
|
2016-01-18 20:29:20 +00:00 |
|
Evgeny Grin (Karlson2k)
|
76345508b0
|
make_nonblocking_noninheritable(): fixed checking for current non-blocking flags,
improved error report.
|
2016-01-17 16:55:25 +00:00 |
|
Evgeny Grin (Karlson2k)
|
3a2ecf68e6
|
make_nonblocking_noninheritable(): removed one system call
|
2016-01-17 16:25:58 +00:00 |
|
Evgeny Grin (Karlson2k)
|
f2fb248061
|
daemon.c: refactored code around accept4() for clarity and to remove unneeded variable
|
2016-01-17 16:04:53 +00:00 |
|
Evgeny Grin (Karlson2k)
|
a0b1426077
|
Do not give up if sendfile() failed with EINVAL
|
2016-01-17 11:32:41 +00:00 |
|
Christian Grothoff
|
05c06d6be1
|
-need stdlib for size_t
|
2016-01-17 00:00:54 +00:00 |
|
Evgeny Grin (Karlson2k)
|
ad9b3c3814
|
Use only US-ASCII charset when comparing stings as caseless as required by standard.
Comparisons for HTTP headers must not be affected by locale settings.
|
2016-01-16 19:23:00 +00:00 |
|
Evgeny Grin (Karlson2k)
|
56810e175c
|
microhttpd.h: A little bit clarified deprecation macros.
|
2016-01-16 17:10:49 +00:00 |
|
Evgeny Grin (Karlson2k)
|
bca0b80070
|
microhttpd.h: fixed declaration of MHD_get_reason_phrase_for()
|
2016-01-12 16:15:24 +00:00 |
|