bel
0350373c76
Remove duplicate function declaration introduced by last merge
2014-11-02 21:53:34 +01:00
Richard Screene
50479bb425
Allow client to send POST request
2014-10-15 12:45:33 +01:00
bel
32f3e195ba
fix warning in civetweb.c
2014-09-20 22:17:19 +02:00
bel
154b80bb69
Make client address available in mg_request_info also for IPv6 (see also issue #33 )
2014-09-14 11:04:42 +02:00
bel
5e52950838
Add close callback for websocket clients
2014-08-31 01:34:04 +02:00
bel
eac72465ad
Allow multiple websocket clients with different callbacks and an additional user supplied argument
2014-08-30 23:31:21 +02:00
Jordan
5d465aadad
Fixed the copyright, changed mg_client_websocket_connect to mg_websocket_client_connect
2014-08-26 15:22:22 -04:00
Jordan
a4eca7c492
Added a unit test for websocket_client functionality, other small fixes
2014-08-21 14:53:47 -04:00
Jordan
5e7362ea5a
Merge remote-tracking branch 'upstream/master'
2014-08-21 09:12:10 -04:00
Jordan
9b8cda8d95
Initial version of websocket client. SSL tested working. websocket_client example included.
2014-08-21 08:53:00 -04:00
bel2125
59833c4842
Merge pull request #34 from jawi/master
...
Make content length available in request_info
2014-08-16 19:58:36 +02:00
bel
fc70af612a
Improve description of CivetServer::getParam(connection, ...)
2014-08-15 23:00:02 +02:00
Jan Willem Janssen
d1437f9f5d
Make content length available in request_info:
...
- given that the content-length header is already parsed, lets make
it also available in the request_info struct to allow easy access;
- added simple unit test to verify the behavior of the new field.
2014-08-13 15:07:01 +02:00
bel
5ee511bef3
Add a function to access the user data in cases the context is known but not the connection
2014-08-11 00:02:04 +02:00
bel
64c97d56e4
Add callbacks for creation and deletion of the server context
2014-08-10 23:46:16 +02:00
bel
ec8c557589
Update version number
2014-07-08 21:57:03 +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
811f4d29f0
Export global mutex
2014-06-21 22:34:57 +02:00
bel
5675cfe6c2
Add comments for the C++ wrapper
2014-06-20 23:32:17 +02:00
bel
db1e1eb028
C++ Wrapper: Store post data per connection instead of per server
...
Fix #2 as proposed on June 16 2014 - see:
See https://groups.google.com/forum/#!topic/civetweb/ri0mNRJ_5-4
2014-06-16 22:36:42 +02:00
bel
9446bf0f4a
Null-terminate string in CivetServer::getParam
...
issue reported by Menno Lodder, see see Mailing-List
https://groups.google.com/forum/#!topic/civetweb/ri0mNRJ_5-4
see also issue #11
2014-06-14 06:53:36 +02:00
bel
c9f266e3a7
Issue #11 : Method to get POST request parameters via C++ interface
2014-03-22 23:02:07 +01:00
bel
8a514b8ed1
Add comments for mg_get_valid_options and format spaces in the header
2014-03-11 19:41:24 +01:00
bel
4b12cd3673
New interface for reading config options
2014-02-21 22:56:56 +01:00
bel
b23e1c2a55
Prepare better parameter checking
2014-02-21 22:07:01 +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
Keith Kyzivat
b91823e741
mg_get_ports to return number of elements of ports and ssl filled in
...
* Return the number of elements of the ports and ssl arrays passed in,
so that the caller knows how many ports the server is listening on/
how many elements of ports/ssl are valid.
2013-10-30 08:31:07 -04:00
Keith Kyzivat
2a4245e379
Add methods for returning the ports civetweb is listening on
...
Patch civetweb to provide a method for retrieving the listening ports.
* Verified builds for:
* MacOS X 10.8 - Xcode 5
* MS Visual Studio 2012 Express on Windows 7
2013-10-29 17:23:00 -04:00
Thomas Davis
66637db176
Updated version number
2013-10-13 14:33:39 -04:00
Thomas Davis
4d9a202f76
Added ZIP installation build for Windows
...
Also moved version define to the header.
2013-10-13 13:51:19 -04:00
Kimmo Mustonen
9a5a104d50
Use C style comments to enable compiling most of civetweb with -ansi.
2013-10-09 23:36:08 +03:00
Thomas Davis
a9db002894
Updated copyright
2013-10-07 16:51:55 -04:00
Thomas Davis
b2b62edd57
Fixed Lua compile error with recent change to conn2()
2013-10-07 14:22:23 -04:00
Thomas Davis
7e72461870
Updated comments
2013-10-07 14:22:23 -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
6b7e1ff2a8
Made file dormat UNIX LF
2013-10-07 14:22:21 -04:00
Thomas Davis
32d35c4591
Updated the documentation
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
8c547339e1
Updated documentation
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
acbe6db15f
Added URLEncode methods
2013-10-07 14:22:20 -04:00
Thomas Davis
466f3982fe
Added urlDecode urlDecode CivetServer methods
2013-10-07 14:22:20 -04:00
Thomas Davis
ff6662c406
Added mg_get_var2() to parse repeated query strings
2013-10-07 14:22:20 -04:00
Thomas Davis
8085be6072
Externalized logging function cry() as mg_cry()
2013-10-07 14:22:20 -04:00
HariKamath
f16f053e11
Wrapper funtion for mg_het_header()
2013-10-07 14:22:20 -04:00
HariKamath
59e17e4401
Changes suggested by Thomas, plus, some minor spelling istakes
2013-10-07 14:22:20 -04:00
HariKamath
021011b273
Cpp implementation for mg_get_cookie().
...
The user can pass standard strings for cookie name get back the corresponding value.
The method returns the size of the cookie string read.
2013-10-07 14:22:19 -04:00
Thomas Davis
b2aee90d14
Regorganized directories to make them more intuitive
2013-10-07 14:22:16 -04:00