bel2125
2ef1efcd5d
Alternative to mg_upload (Step 54/?)
2016-02-15 21:59:12 +01:00
bel
20f3965f2c
Alternative to mg_upload (Step 50/?)
2016-02-14 21:39:56 +01:00
Philipp Hasper
36ef459a78
HEAD request handler for C++ interface
2016-02-11 08:05:29 +01:00
Neil Jensen
eb79a551d8
Make CivetAuthHandler::authorize function pure virtual
2016-01-11 10:32:18 -06:00
Neil Jensen
ed9ae22a65
Change authorization handlers to a separate type
2016-01-11 10:09:42 -06:00
Neil Jensen
6d5236d027
Add custom authorization handler
2016-01-08 12:35:58 -06:00
Neil Jensen
76b1fbd5cf
Add PATCH handlers to the CivetServer
2016-01-05 14:43:52 -06:00
bel
04db49f20b
Autoformat after merge #234
2015-11-28 23:36:37 +01:00
brett
c07b562d2d
allow CivetServer constructor to accept options as std::vector<std::string>
...
https://github.com/civetweb/civetweb/issues/233
2015-11-28 13:24:42 -08:00
bel
b3064181ae
Auto format after merge
2015-11-09 23:11:48 +01:00
Philipp Hasper
a9c11e10be
Adding removeWebSocketHandler
2015-11-05 11:26:33 +01:00
bel
ada9d9b00b
Client API using SSL certificates (draft, Step 1/?)
2015-11-01 22:57:55 +01:00
bel2125
d8ade358c0
Merge pull request #210 from tnoho/tnoho
...
Add mg_websocket_client_write (some TODOs are to be fixed)
2015-10-16 20:17:40 +02:00
bel
86723f1315
Add CivetWebSocketHandler to the C++ API
...
Patch from Nick Bulleid
(https://groups.google.com/forum/#!topic/civetweb/-iqfDnVMw2s )
2015-10-15 20:51:27 +02:00
tnoho
e5dc6be068
Add mg_websocket_client_write
2015-10-15 00:52:15 +09:00
bel
4de9090577
Apply revised clang-format ( #207 ) to all actively maintained source files
2015-10-05 20:58:14 +02:00
bel
164b12b558
Add server side Javascript (Duktape) to feature check API
2015-10-02 20:48:00 +02:00
bel
a6bcffcfc5
Rename rel_uri to local_uri ( #197 )
2015-09-29 22:45:24 +02:00
bel2125
73155eea3e
Documentation: IPv6 ports will listen for both, IPv4 and IPv6
...
- Add this to the user documentation
- Make it more clear in the interface documentation
- Change the embedding_c example accordingly (and auto-format the code)
2015-09-29 20:43:16 +02:00
bel
ac3e0d8292
Add new interface to get listening ports (deprecate old interface)
2015-09-26 22:34:55 +02:00
bel2125
ec0206610d
Support absolute uri ( #197 ) - (Step 12/?)
2015-09-13 23:06:56 +02:00
bel2125
d0bd04ecf2
Support absolute uri ( #197 ) - (Step 9/?)
2015-09-13 22:43:28 +02:00
bel
9a69a05905
Update source code format details
2015-09-06 21:03:52 +02:00
bel
e29dbdc5a0
Support absolute uri ( #197 ) - (Step 6/?)
2015-09-02 23:53:38 +02:00
bel
79ad5cb4b4
Use MG_LEGACY_INTERFACE define for deprecated interfaces
2015-08-19 21:23:18 +02:00
bel
17f3949f24
Set deprecated remote_ip member as LEGACY_INTERFACE
2015-08-19 19:51:57 +02:00
bel2125
c1832493a4
Roll back merge #193
...
Merge "added public mg_is_context_stopped() function #193 " adds a function,
which will cause a memory use after free during normal operation.
See comment https://github.com/civetweb/civetweb/pull/193#issuecomment-131705655
2015-08-17 15:34:21 +02:00
bel
f3bf12b0f5
Autoformat after merging pull request
2015-08-16 23:56:57 +02:00
Joe Mucchiello
5a450af611
missing semi
2015-08-14 19:44:02 -04:00
Joe Mucchiello
a2b208bdbf
Added mg_is_context_stopped
...
Long running client code sometimes needs to know when civetweb is
exiting so that it can cleanly abort a long process.
2015-08-14 18:26:29 -04:00
bel
b23c0e653a
Update repository link in header: bel2125/civetweb --> civetweb/civetweb
2015-08-11 23:10:47 +02:00
bel
721f694c24
Add API function to check available features
2015-08-09 21:36:07 +02:00
bel
0e5206006c
Store return value of callbacks as status code for the access log
...
See #178
2015-07-28 22:07:18 +02:00
bel
12485f551f
Update version number
2015-07-06 21:14:23 +02:00
bel
36ce480cc3
clang_format src and include
2015-06-30 20:49:32 +02:00
Matt Clarkson
a68e70f3c8
Use the visibility attribute for newer GCC versions
...
In newer versions of GCC the exporting of symbols can be controlled with
an attribute if -fvisibility=hidden is used. This patch allows the
CIVETWEB_API macro to work with this flag.
2015-05-28 14:32:07 +01:00
bel
6ce8b4e92c
Set autoformat options and autoformat all source files
2015-05-17 01:30:21 +02:00
bel
53a18aecf1
Autoformat all source files using clang-format
2015-05-17 00:48:11 +02:00
hansipie
020b9fbe93
Symbols export for the C++ Interface
2015-04-29 17:18:44 +02:00
bel
d264808e52
Clean usage of const/not const mg_context* and mg_connection* handles in the API.
...
The API had an inconsistant usage of `const mg_connection *` and `mg_connection *`,
that may cause warnings (e.g., #109 ). Now all non-const `mg_connection *` is only
required to read/write the connection.
2015-04-29 00:13:25 +02:00
bel
0a1f99c6bb
Remove misleading comment in CivetServer.h
...
See issue #92
2015-04-23 21:48:22 +02:00
bel
121ae6c7f6
Handler for websocket connection (Step 6/7)
...
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 22:09:09 +02:00
bel
436bc39555
Handler for websocket connection (Step 2/?)
...
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 00:43:11 +02:00
bel
259415c392
Nobody is supposed to define CIVETWEB_VERSION outside civetweb.h
2015-04-18 19:16:58 +02:00
bel
0016b36204
Handler for websocket connection (Step 1/?)
...
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-18 18:14:20 +02:00
cbishop
b97f12bf42
Added stdexcept include for use of runtime_error exception
2015-04-10 09:53:52 +01:00
bel
6a96b4b6a2
Small enhancements in the header comments
2015-04-09 22:04:49 +02:00
Mark Lakata
82a7ed8b53
Added exception if CivetServer constructor fails. Added getListeningPorts() method.
2015-03-12 14:38:27 -07:00
Yehuda Sadeh
bab2a3f627
add log_access() callback
...
log_message() is used for critical messages, log_access() used for
access logging.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com >
2015-02-12 16:12:25 -08:00
bel
c70d1ecad8
Update copyright note to 2015
2015-02-03 23:18:59 +01:00