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

2380 Commits

Author SHA1 Message Date
Matt Clarkson
b6c83a4ebe CMake Module to patch ithe check unit test library
There is an issue with the CMake build of check that produces a false
negative for clock_t, clockid_t and timer_t when using MinGW on Windows

This patches the project until the upstream patch is accepted:

     https://sourceforge.net/p/check/patches/53
2015-07-09 21:05:33 +02:00
Matt Clarkson
03a3f18c83 CMake Module for finding winsock 2015-07-09 21:05:32 +02:00
Matt Clarkson
b7086cbc4c CMake Module for finding libdl 2015-07-09 21:05:30 +02:00
Matt Clarkson
ff4ca701b3 CMake Module for finding libm 2015-07-09 21:05:27 +02:00
Matt Clarkson
1b59080977 CMake Module for finding librt 2015-07-09 21:05:26 +02:00
Matt Clarkson
ad30351098 CMake Module for adding C compiler flags
Only adds the flag if it is supported
2015-07-09 21:05:25 +02:00
Matt Clarkson
15a7069773 CMake Module for adding C++ compiler flags
Only adds the flag if it is supported by the compiler
2015-07-09 21:05:22 +02:00
Matt Clarkson
55c8b35f84 Extra git ignores 2015-07-09 21:04:09 +02:00
bel2125
ef29c71777 Merge pull request #159 from hansipie/hansipie
check, refactor, isolation
2015-07-09 20:05:38 +02:00
hansipie
73f2c23f90 Code cleaning
#define GLIBC_CHK is useless
2015-07-09 01:33:35 +02:00
hansipie
6b86e05b4f Merge remote-tracking branch 'origin/master' into hansipie 2015-07-09 01:18:18 +02:00
hansipie
7fd2ea80a8 MEMORY_DEBUGGING variables
Isolate variables used for the memory debugging
2015-07-09 01:12:09 +02:00
hansipie
730b7df221 #ifdef refactoring
Use of pthread_setname_np based on glibc's version not on architecture's
detection
2015-07-09 00:51:17 +02:00
bel
96b2a275e2 Send error message if seek in file fails (instead of sending the wrong part of the file)
See also #158
2015-07-08 22:30:26 +02:00
bel
7e1775ff1c Fix return value of fseek replacement function for Windows
Posix (Linux) define fseek must return 0 (ok) or -1 (error).
Windows _lseeki64 returns the offset (ok) or -1 (error).
See #158
2015-07-08 22:06:23 +02:00
bel
12485f551f Update version number 2015-07-06 21:14:23 +02:00
hansipie
1e9bca3831 Merge pull request #2 from bel2125/master
Update fork
2015-07-04 01:39:14 +02:00
bel
59beb63fe1 Update RELEASE NOTES for V1.7 release 2015-07-04 00:24:55 +02:00
bel
8f62fa225d Add all contributor names (or login names) from git log to CREDITS file 2015-07-04 00:08:18 +02:00
bel
fc76a4fa7e Fix some warnings in Linux 2015-07-03 23:11:20 +02:00
bel
72b3d3deb2 Reduce test default from 10000 images to 1000 (number can be configured as ?cnt=1000) 2015-07-02 22:50:51 +02:00
bel
ccad24024d Test with more images that can not be cached 2015-07-02 22:40:55 +02:00
bel
8ce2caa2aa Update test description 2015-07-02 21:34:51 +02:00
bel
bd1b4b8e27 Measure timing in 100 image load test 2015-07-02 21:20:55 +02:00
bel
80a1255267 Auto-format recent changes for sendfile 2015-07-01 22:42:42 +02:00
bel2125
31a9758c7d sendfile needs to be trunkated to chunks <2GB even on 64 bit Linux
This limit has been found by experiment on an x86_64 GNU/Linux
(Ubuntu 15.04, Linux 3.19.0-21-generic) system.

See also #143
2015-06-30 23:28:10 +02:00
bel
36ce480cc3 clang_format src and include 2015-06-30 20:49:32 +02:00
bel2125
c762a77c0e Experiments with sendfile for Linux 2015-06-30 00:32:08 +02:00
bel2125
7a366c45b2 CORS test should work with default port 8080 2015-06-29 23:32:00 +02:00
bel2125
4872116f19 image test: File extension is case sensitive for Linux 2015-06-29 23:18:49 +02:00
bel2125
bb5bc3ff99 New CGI script for ajax test 2015-06-29 23:13:48 +02:00
bel2125
4cd3d463fc Allow infinite timeouts (config value 0)
Timeouts can be deactivated by setting the config values for
request_timeout_ms and websocket_timeout_ms to 0.
2015-06-29 22:37:41 +02:00
bel2125
01cbe37ff3 USE_TIMERS should be set for all systems (not only Windows) if USE_LUA and USE_WEBSOCKET is set 2015-06-29 22:09:15 +02:00
bel2125
e7d3a0d1a0 Merge pull request #155 from hansipie/master
check glibc version
2015-06-28 19:14:59 +02:00
hansipie
b66be5689e compilation error
pthread_setname_np arguments
2015-06-26 21:32:53 +02:00
hansipie
1ab9f49c56 check glibc version
Check glibc version to use "pthread_setname_np". In case glibc is less
than 2.12, we use "prctl" on linux, and nothing for other Systemes. Else
we use pthread_setname_np
2015-06-26 21:17:37 +02:00
hansipie
b799f2a3a0 Merge pull request #1 from bel2125/master
update fork
2015-06-26 20:30:06 +02:00
bel
750ec3a7c7 Disable MicroSofts I dont like C warning in the upload example 2015-06-24 22:04:25 +02:00
bel
cafe5cbd01 Use operating system dependent temporary storage path in example 2015-06-24 21:52:39 +02:00
bel
96568a7661 Must also work for files created 1970-01-01 00:00:00 (see also #152) 2015-06-21 22:29:42 +02:00
bel
d56e9ee152 Rewrite some if statements 2015-06-19 22:23:46 +02:00
bel
2e6681ca20 Update sqlite3 to version 3.8.10.2 2015-06-18 22:04:11 +02:00
bel
358f43c0d2 Modify official LuaSQLite3, to register sqlite3 as a global table (compatibility to the previous version) 2015-06-18 22:01:02 +02:00
bel
df6e792396 Update LuaSQLite3 (lsqlite3) to version 0.9.3 2015-06-18 21:39:19 +02:00
bel
cdc035b04d Reformat set_ports_option 2015-06-18 21:19:42 +02:00
bel2125
3ddcd3d4c0 IPv6 for MinGW 2015-06-18 20:16:54 +02:00
bel
ff7e392128 Restructure confusingly long if statement in set_ports_options 2015-06-17 22:48:07 +02:00
bel2125
68133747a7 Merge pull request #151 from nigels-com/clock_gettime_prototype
Resolve Mac OS X 10.9 compilation warning
2015-06-17 19:47:48 +02:00
Nigel Stewart
3ac0ef2f8c Resolve Mac OS X 10.9 compilation warning: -Wmissing-prototypes for clock_gettime 2015-06-17 19:29:07 +10:00
bel2125
a3d71a0a0c Show CGI variables in Linux mini-CGI shell script 2015-06-16 23:09:12 +02:00