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

133 Commits

Author SHA1 Message Date
bel
26ecfa7261 Update websocket example - stop websocket threads per server context instead of using a static variable 2014-08-11 00:30:14 +02:00
bel
624aed908d Update websocket example - store websocket clients per server context instead of using static variables 2014-08-11 00:22:07 +02:00
bel
56389ad023 Update websocket example - use new API functions 2014-08-10 23:49:49 +02:00
Thomas Davis
1461951d13 Compile fixes for OSX
Also fixed github URL's to point to correct project.
2014-06-26 17:38:05 -04:00
bel
724753a7da Fix C++ build errors in Linux 2014-06-24 21:44:21 +02:00
bel
be97d78aac Enhance C++ embedding example for CivetServer::getParam test 2014-06-14 08:02:43 +02:00
Danny Al-Gaaf
ae0c43a0e3 chat.c: fix format argument type
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-04-24 11:23:44 +02:00
bel
c9f266e3a7 Issue #11: Method to get POST request parameters via C++ interface 2014-03-22 23:02:07 +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
6766951f38 Websocket example should show creation and deletion of websocket connections 2014-01-12 14:13:51 +01: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
bel
fc6c81c417 Test mg_set_request_handler() for patterns 2014-01-08 20:09:56 +01:00
bel
1a208a1989 Add forgotten file 2013-12-10 22:49:09 +01:00
bel
aa2cded31f New + better websocket example 2013-12-10 20:41:32 +01:00
bel
ee01cf1ca7 Replace trivial websocket example by a more illustrated one 2013-10-31 21:55:01 +01:00
bel
c09392f7bd Replace trivial websocket example by a more illustrated one 2013-10-31 21:53:29 +01:00
Thomas Davis
b73e2c198d Updated indentation 2013-10-07 14:22:27 -04:00
William Greathouse
aa7c2a1b8c Add WebSocket demo that uses asynchronous messages from the server. 2013-10-07 14:22:26 -04:00
William Greathouse
4358ced3a2 Update "document_root" to match new layout/naming. 2013-10-07 14:22:25 -04:00
Thomas Davis
b745f22107 Normallized coding style in a predictable way.
Uses astyle program which is freely avaiable on all platforms.
2013-10-07 14:22:22 -04:00
Thomas Davis
e551b74564 Updated comments 2013-10-07 14:22:22 -04:00
Thomas Davis
c67fbc7caf Added new C embedding example 2013-10-07 14:22:22 -04:00
Thomas Davis
840f3c4079 Stripped out extra test code. 2013-10-07 14:22:21 -04:00
Thomas Davis
6b7e1ff2a8 Made file dormat UNIX LF 2013-10-07 14:22:21 -04:00
Thomas Davis
031e2cd665 Relaxed the ordering contraint on the URI matches.
Solved by doing smart insertions.
2013-10-07 14:22:21 -04:00
Thomas Davis
af000e03c7 Added new URI to handler mapping for C code. 2013-10-07 14:22:21 -04:00
Thomas Davis
b2aee90d14 Regorganized directories to make them more intuitive 2013-10-07 14:22:16 -04:00
Thomas Davis
350b1fc75e Made md5 a static include, renamed source includes a .inl. 2013-10-07 14:22:15 -04:00
Thomas Davis
57a5276677 Updated guthub URI's 2013-10-07 14:22:13 -04:00
Thomas Davis
cd1696a972 Added Visual Studio 2012 reference projects. 2013-10-07 14:22:11 -04:00
Thomas Davis
4fc63e059c Fixed the md5 code inclusion in the build 2013-10-07 14:22:11 -04:00
Thomas Davis
a8bc92a305 Renamed to Civetweb 2013-10-07 14:22:09 -04:00
Sergey Lyubka
b07745ab50 Added Lua dll example 2013-07-30 14:49:52 +01:00
Sergey Lyubka
e645b33b6c using mg.read() only for POST requests 2013-07-16 07:53:08 +01:00
Sergey Lyubka
c68df310b8 Added mg_websocket_write(), per morgan3d pull request 2013-07-12 12:25:25 +01:00
Sergey Lyubka
2e232b3304 Lua functionality change: print renamed to mg.write, read renamed to mg.read. Expanded user manual, fixed example pages. 2013-05-15 17:42:34 +01:00
Sergey Lyubka
6f946f5eea websocket code fix, https://github.com/valenok/mongoose/pull/146 2013-05-10 13:41:48 +01:00
Sergey Lyubka
39cd5b8323 Signature for mg_get_cookie changed 2013-05-10 13:14:04 +01:00
Sergey Lyubka
8d1f6377c4 Changed websocket_data() handler API. Buffering and passing whole websocket message. 2013-03-08 16:03:23 +00:00
Mikhail Nikalyukin
5ce1fc3c2a add lua page example with the form submitting 2013-02-27 13:02:39 +02:00
Sergey Lyubka
ee55d38b55 API CHANGE: using struct mg_callbacks 2013-02-01 16:48:30 +00:00
Sergey Lyubka
08afdfa8b6 better cleanup 2013-01-18 10:43:52 +00:00
Sergey Lyubka
38421657b3 Minor refactoring in examples/upload.c 2012-12-08 14:53:46 +00:00
Sergey Lyubka
0d442058e5 Added mg_upload() 2012-12-07 01:50:47 +00:00
Sergey Lyubka
0263e39584 Minor refactoring 2012-11-30 15:01:15 +00:00
Sergey Lyubka
d8424726bb Using O_BINARY on win32 for uploaded files 2012-11-30 10:09:39 +00:00
Sergey Lyubka
9f9a1638f7 clean target added 2012-10-14 15:00:04 +01:00
Sergey Lyubka
b39426dbf7 Showing error message 2012-10-12 14:28:35 +01:00
Sergey Lyubka
78ea04556f Windows build for examples added 2012-09-24 21:25:06 +01:00