1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00
Commit Graph

2616 Commits

Author SHA1 Message Date
bel2125
6cdabf3825 rename mg_context member workerthreadcount to cfg_worker_threads
This variable stores the number of configured worker threads,
not the number of worker threads actually running.
This can be different, if not all threads could be started.
See #188
2015-09-13 20:47:41 +02:00
bel
3792243dc3 Force string length limits for vsnprintf operations (#175)
See 3 of https://github.com/civetweb/civetweb/issues/175#issuecomment-139703181
2015-09-12 21:09:25 +02:00
bel
cc4747c1e3 Force string length limits for vsnprintf operations (#175)
See 1+2 of https://github.com/civetweb/civetweb/issues/175#issuecomment-139703181
2015-09-12 21:01:59 +02:00
bel2125
3716b3faaa Update embedded_c example 2015-09-11 22:12:10 +02:00
bel
7739a5135a Add TODO to deal with systems with sizeof(pthread_t) > sizeof(unsigned long) 2015-09-10 23:31:19 +02:00
bel
f4ae645ccc Disable MacOS build on Travis, until all errors are fixed 2015-09-10 23:26:11 +02:00
bel
81730357d2 Win32 GetCurrentThreadId always fits into unsigned long 2015-09-09 23:22:05 +02:00
bel
a0be79d1a6 Most c compilers do not support '#if sizeof' expressions (the standard does not require it). So the user has to set a define pthread_t_LARGER_THAN_unsigned_long 2015-09-09 22:55:43 +02:00
bel
b5775bfc26 Use CRYPTO_set_id_callback only if sizeof(pthread_t)<=sizeof(unsigned long). Use the system default otherwise 2015-09-09 22:20:16 +02:00
bel
b567e04495 Add check for size of thread ID (required for SSL) 2015-09-09 21:29:43 +02:00
bel2125
4cee6813f8 Merge pull request #198 from shantanugadgil/patch-1
Allow parameters to the resource compiler
2015-09-09 20:00:59 +02:00
shantanugadgil
3b415f9cd3 Allow parameters to the resource compiler
Using Cygwin64, build fails when trying to compile for Windows 32-bit.
'windres' needs to be supplied "-F pe-i386" when building for 32-bit.

My compile commands are:
### for 32-bit
# rm -rf out/; make CC=i686-w64-mingw32-gcc COPT="-static" WINDRES_FLAGS="-F pe-i386"

### for 64-bit
# rm -rf out/; make CC=x86_64-w64-mingw32-gcc COPT="-static" WINDRES_FLAGS="-F pe-x86-64"

Regards,
Shantanu
2015-09-09 19:35:17 +05:30
bel
d33ff62ab1 MinGW: correct compiler defines
It seems MinGW uses __MINGW32_MAJOR_VERSION (major before version) for 32 bit,
but __MINGW64_VERSION_MAJOR (version befor major) for 64 bit.
2015-09-07 20:23:29 +02:00
bel
0037369809 MinGW: correct compiler defines 2015-09-07 19:45:34 +02:00
bel
22a38b7c39 MinGW: include _mingw.h, to access mingw version defines 2015-09-07 19:25:31 +02:00
bel
ad746c8365 Add #ifdef _WIN32 for vsnprintf blocking define again 2015-09-06 23:02:48 +02:00
bel
f3a22fab38 Linux/Travis does not support ifconfig 2015-09-06 21:46:05 +02:00
bel
da2f30cb48 Some MacOS compile fixes 2015-09-06 21:45:37 +02:00
bel
38fecc8961 Travis/MacOS does not support /sbin/ip, use ifconfig instead 2015-09-06 21:13:30 +02:00
bel
9a69a05905 Update source code format details 2015-09-06 21:03:52 +02:00
bel
810a34d828 Set MINGW compiler define for windows GCC diagnostic pragmas 2015-09-06 20:46:58 +02:00
bel
7995c9ba6d Disable unused-function warning for POSIX standard Win32 replacement functions 2015-09-05 23:30:19 +02:00
bel
8165305549 Rearrange definition of main for exe test 2015-09-04 22:10:14 +02:00
bel
41331e29c6 Add shared test to Visual Studio and format script 2015-09-04 21:25:48 +02:00
bel
6cc1f017f2 Fix wrong include guard in exe test 2015-09-04 20:32:19 +02:00
bel
eb3d9c414a Update Visual Studio unit test project 2015-09-04 20:27:22 +02:00
bel
3212e78e54 Initialize hostend to avoid false warning 2015-09-04 20:12:46 +02:00
bel
acdec461ab Disable Microsoft does not like standard C library functions warning for all tests 2015-09-04 20:10:44 +02:00
bel2125
f8cd0ab565 Auto-format test main 2015-09-03 22:32:00 +02:00
bel2125
db985a162b Add exe test suite and make CI testing more verbose 2015-09-03 22:29:11 +02:00
bel
37e28a7318 Support absolute uri (#197) - (Step 8/?) 2015-09-03 00:36:34 +02:00
bel
cb53155885 Support absolute uri (#197) - (Step 7/?) 2015-09-03 00:09:30 +02:00
bel
e29dbdc5a0 Support absolute uri (#197) - (Step 6/?) 2015-09-02 23:53:38 +02:00
bel
b51c2cd50c Support absolute uri (#197) - (Step 5/?) 2015-09-02 23:47:08 +02:00
bel
2a2155ce0f Support absolute uri (#197) - (Step 4/?) 2015-09-02 22:33:19 +02:00
bel
de04b44535 Support absolute uri (#197) - (Step 3/?) 2015-09-02 21:59:55 +02:00
bel
26c510913c Support absolute uri (#197) - (Step 2/?) 2015-09-02 21:25:00 +02:00
bel
0dc10e0dc6 Support absolute uri (#197) - (Step 1/?) 2015-09-02 21:20:32 +02:00
bel
ac14cd6d7b Make CTest verbose to check errors on the build server 2015-09-02 20:13:36 +02:00
bel
a65d852a09 Third attempt to avoid a implicit declaration of function ‘realpath’ error on the remote build server 2015-09-01 23:05:00 +02:00
bel
5cf6afbaeb Disable Wimplicit-function-declaration for executable test build on CI build server 2015-09-01 22:56:16 +02:00
bel
f5f918cef8 Set defines for realpath in Linux 2015-08-31 23:32:23 +02:00
bel
95637af83d Fix some compile warnings in main.c 2015-08-31 22:26:58 +02:00
bel
5437f5d37e Add TODO-mark to support absolute URIs (#197) 2015-08-31 22:11:26 +02:00
bel
1e0745cda2 Move redefinition of main to test header 2015-08-30 22:20:42 +02:00
bel
f7eb8a1e5b Move printf blocking define below include civetweb.h 2015-08-30 22:07:27 +02:00
bel
bb855fe6c4 First unit test for main.c 2015-08-30 21:25:52 +02:00
bel
5a2678e73e Replace printf by fprintf(stdout) in main 2015-08-30 21:25:15 +02:00
bel
9de3f4fdd0 Add unit test for main.c 2015-08-30 21:19:38 +02:00
bel
61b9afa121 Fix system specific pre-processor defines 2015-08-30 20:50:10 +02:00