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

1536 Commits

Author SHA1 Message Date
bel
b23e1c2a55 Prepare better parameter checking 2014-02-21 22:07:01 +01:00
bel2125
efde7732f2 Merge pull request #7 from cynthia/master
Make the Websockets example compile on Mac OS X
2014-02-19 21:02:08 +01:00
Sangwhan Moon
ee3ef0af4e Make the Websockets example compile on Mac OS X, along with some other little patches. 2014-02-20 03:25:20 +09:00
bel
60cfbf1444 CORS support (Step 3) 2014-02-17 18:24:45 +01:00
bel
c8684b89f5 Enhance option parsing. In particular, empty strings might be valid options 2014-02-16 17:38:18 +01:00
bel
a5d0ee5f63 CORS step 2: Take Access-Control-Allow-Origin from the config 2014-02-16 16:50:10 +01:00
bel
c498dde851 Add cross-origin resource sharing (CORS) test 2014-02-15 22:41:29 +01:00
bel
b5d6587e17 Enable CORS, step 1 2014-02-15 22:38:01 +01:00
bel2125
0f003f1384 Merge pull request #5 from CSTAJ/fixmemleak
[memleak] - don't leak pthread_cond_t.waitingthreadhdls
2014-02-12 19:47:07 +01:00
bel
dcfb78cbc9 stack smashing detected - see sunsetbrew/civetweb/issues/54 2014-02-12 19:45:00 +01:00
CSTAJ
87324c1d2f [memleak] - don't leak pthread_cond_t.waitingthreadhdls 2014-02-12 13:59:54 +01:00
bel
469faa2b06 Define MAX_WORKER_THREADS may be overwritten, other defines should at least not give redefinition warnings 2014-02-02 21:41:18 +01:00
bel2125
66ed585ef6 Merge pull request #3 from snations/snations
Unconditionally undef WINDOWS_LEAN_AND_MEAN. This makes things build
2014-02-02 12:28:24 -08:00
Scott Nations
28e896c090 typedef in_port_t to unsigned short int when building for ANDROID. 2014-01-30 14:50:51 -06:00
Scott Nations
e44dd202ef Unconditionally undef WINDOWS_LEAN_AND_MEAN. This makes things build
again with vc9 and vc10. Don't know about vc11 or vc12.
2014-01-30 14:44:00 -06:00
bel
87a3b74ee5 Tell Lua which operating system is running, so scripts may handle differences 2014-01-24 19:07:08 +01:00
bel
4127492415 patch to compile civetweb.c with Mingw gcc 4.8.0 on windows (by Eric Trinh) 2014-01-24 17:54:43 +01:00
bel
4fb9768772 Update RELEASE_NOTES 2014-01-23 21:11:35 +01:00
bel
920e2a3dff [win32] - get rid of dll.def and export/import functions based on prepro... 2014-01-23 21:07:19 +01:00
bel
aa44c1a069 merge [win32] - get rid of dll.def and export/import functions based on prepro... 2014-01-23 20:28:03 +01:00
bel2125
c45b2fa088 Merge pull request #1 from jjlin/master
Enable Large File Support (LFS) on 32-bit systems by default
2014-01-21 10:59:44 -08:00
Jeremy Lin
08fec89b00 Enable Large File Support (LFS) on 32-bit systems by default
In line with the structure of the existing code, this is done by
adding '#define _FILE_OFFSET_BITS 64' near the top of civetweb.c,
before the various system #includes.

This might not work well if the code is later split up into more
translation units; in that case, it would be better to move the LFS
macros into a separate header file that is included as appropriate.
It may also be more portable to enable LFS via the makefile instead,
for example, by adding something like:

  ifdef WITH_LFS
    CFLAGS += $(shell getconf LFS_CFLAGS)
    LDFLAGS += $(shell getconf LFS_LDFLAGS)
  endif
2014-01-20 16:35:55 -08:00
bel
172c106e7a document mg.base64_encode and mg.base64_decode for Lua 2014-01-20 22:52:34 +01:00
bel
fa91b84907 Test mg.base64_decode for Lua 2014-01-20 22:50:28 +01:00
bel
b72ad2cbe6 mg.base64_decode for Lua 2014-01-20 22:49:37 +01:00
bel
9f9a6ffda3 test mg.base64_encode for Lua 2014-01-20 21:54:59 +01:00
bel
6ee0551970 mg.base64_encode for Lua 2014-01-20 21:48:27 +01:00
bel
50ccfe6d78 Check new config field types 2014-01-19 23:06:00 +01:00
bel
4f3c267731 Add test for lua_preload_file 2014-01-19 22:50:13 +01:00
bel
e7f9e4b047 Set absolute path for lua_preload_file 2014-01-19 22:42:06 +01:00
bel
3eba9878d4 Document lua_preload_file option 2014-01-19 22:32:44 +01:00
bel
8d3a48398c Support a pre-loaded file for the Lua environment 2014-01-19 22:16:09 +01:00
bel
031af3defd Update RELEASE_NOTES 2014-01-19 20:48:41 +01:00
bel
ae7ff2273c Nonce check can be disabled (for embedding into applications that restart frequently) 2014-01-19 18:19:44 +01:00
bel
903287ff0a Server should check the nonce - see http://en.wikipedia.org/wiki/Digest_access_authentication#Advantages 2014-01-17 23:56:58 +01:00
bel
3c5be54bf5 Prepare a server side check of the nonce for http digest auth 2014-01-17 23:21:14 +01:00
bel
ccda241b41 Increase label width for Edit Settings dialog, so all current option names fit 2014-01-17 22:26:49 +01:00
bel
dd50cc65ca Hide read-only flag in file dialogs opened by the Edit Settings dialog 2014-01-17 22:19:11 +01:00
bel
081678e773 Sort dll.def like the header 2014-01-17 16:14:04 +01:00
bel
7817a91b7c Add all functions to dll.def, that are in the header 2014-01-17 16:07:35 +01:00
sunsetbrew
95d16b5101 Update README.md
Converted readme for new repository
2014-01-15 21:57:16 -05:00
sunsetbrew
c5830dc3a5 Merge pull request #50 from bel2125/master
The "edit settings" dialog should not change the config file from relative to absolute paths
2014-01-14 12:49:37 -08:00
bel
2768d5c7d6 Edit settings dialog should be able to load the active settings, the settings from a file or the default settings 2014-01-13 21:35:32 +01:00
bel
6766951f38 Websocket example should show creation and deletion of websocket connections 2014-01-12 14:13:51 +01:00
sunsetbrew
03c6a62296 Merge pull request #49 from bel2125/master
upate embedding examples in C and C++
2014-01-11 06:07:36 -08:00
bel
c471b9bdc9 C++ embedding example should do the same as the C embedding example 2014-01-10 22:22:26 +01:00
bel
2b706509f7 Show the usage of mg_get_request_info in the example 2014-01-09 20:14:17 +01:00
sunsetbrew
9e00c4aaab Update RELEASE_NOTES.md 2014-01-08 15:06:29 -05:00
sunsetbrew
949e0884ab Update CREDITS.md 2014-01-08 15:04:43 -05:00
sunsetbrew
6fae12c37d Merge pull request #48 from bel2125/master
mg_set_request_handler() mod to use pattern (Patch from Toni Wilk)
2014-01-08 12:04:02 -08:00