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

79 Commits

Author SHA1 Message Date
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