Christopher Galas
36d138a820
Update Makefile
2016-01-28 14:57:23 -08:00
Christopher Galas
98570c0bd3
Compile fix: Adding in -DMG_LEGACY_INTERFACE=1
...
The example wasn't compiling under Linux Ubuntu 14.04, since this example replied upon the legacy interface. The following compile flag was needed to build the example:
-DMG_LEGACY_INTERFACE=1
2016-01-28 14:57:02 -08:00
Christopher Galas
d511e59dc4
Typo
2016-01-28 13:45:23 -08:00
bel
bef7a76451
Alternative to mg_upload (Step 28/?)
2016-01-19 20:48:19 +01:00
bel
18aaa35145
Alternative to mg_upload (Step 27/?)
2016-01-18 21:29:14 +01:00
bel
5684a70140
Alternative to mg_upload (Step 24/?)
2016-01-17 23:24:08 +01:00
bel
9e526697fd
Alternative to mg_upload (Step 20/?)
2016-01-17 19:09:04 +01:00
bel
0d433b9f23
Alternative to mg_upload (Step 17/?)
2016-01-16 00:42:11 +01:00
bel
233e726fe3
Alternative to mg_upload (Step 15/?)
2016-01-15 21:29:25 +01:00
bel
4e960e5fa4
Alternative to mg_upload (Step 14/?)
2016-01-15 00:00:08 +01:00
bel
fee3db104b
Alternative to mg_upload (Step 12/?)
2016-01-14 21:30:27 +01:00
bel
76b327b1d0
Alternative to mg_upload (Step 8/?)
2016-01-11 21:41:47 +01:00
bel
b08b61d0d2
Alternative to mg_upload (Step 7/?)
2016-01-11 20:28:50 +01:00
bel
6725df7b1c
Alternative to mg_upload (Step 6/?)
2016-01-10 23:59:13 +01:00
bel
ff73f34ca6
Alternative to mg_upload (Step 5/?)
2016-01-10 22:17:27 +01:00
bel
2a676b114c
Alternative to mg_upload (Step 4/?)
2016-01-10 21:58:04 +01:00
Bjoern Petri
59fd2a7dfd
Add needed build options when building civetweb lib from embedded_c example
2016-01-06 11:29:21 +01:00
Bjoern Petri
37b9aabedb
Correct misleading error message
2016-01-06 11:18:33 +01:00
bel
851a4cda6b
Add HTTPS support to embedded example
2015-11-17 22:03:19 +01:00
bel
407e628b0b
Merge #217 with a another (incomplete) implementation of the same issue, and format code
2015-10-30 01:25:19 +01:00
bel
29cb09973b
Format C++ example
2015-10-27 21:52:01 +01:00
bel
64e6264676
Add example how to handle PUT and POST in C++
2015-10-27 21:40:48 +01:00
tnoho
22877d8f2f
Fix masking method
2015-10-16 16:30:49 +09:00
bel
4de9090577
Apply revised clang-format ( #207 ) to all actively maintained source files
2015-10-05 20:58:14 +02:00
bel
de214bf8fa
Add more comments to embedded_c example
2015-10-02 21:02:01 +02:00
bel
0b1ce03d0c
Add some comments to embedded_c example
2015-10-02 20:53:06 +02:00
bel
0900edbe36
Embedded_c example should raise an error, if it is build with defines not supported by the civetweb library
2015-10-02 19:45:25 +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
bel2125
63ef9cbd35
Small fixes in Makefile
2015-09-26 23:33:30 +02:00
bel
ebc667a121
Test for bug report #205
2015-09-26 22:36:19 +02:00
bel
ac3e0d8292
Add new interface to get listening ports (deprecate old interface)
2015-09-26 22:34:55 +02:00
bel2125
3716b3faaa
Update embedded_c example
2015-09-11 22:12:10 +02:00
bel
9f3f8baac0
Update websocket example - use the current interface
2015-08-19 21:15:22 +02:00
bel
615970e9d1
Update websocket example to use the current interface
2015-08-19 20:58:40 +02:00
bel
750ec3a7c7
Disable MicroSofts I dont like C warning in the upload example
2015-06-24 22:04:25 +02:00
bel
cafe5cbd01
Use operating system dependent temporary storage path in example
2015-06-24 21:52:39 +02:00
bel
dbc89c9ddc
Bind to all IPv6 addresses in the example
2015-05-31 23:23:53 +02:00
bel
f2a9354b18
Test separated timeout for websocket and other requests
2015-05-30 01:25:39 +02:00
bel
e33d4bc263
Update embedded_c websocket example
2015-05-28 23:02:03 +02:00
bel
034274b309
Add some pattern matching to the embedding examples
...
See also #116
2015-05-22 21:44:58 +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
8c90b3cae5
Handler for websocket connection (Step 7/7)
...
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 23:20:08 +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
0ecec6bce7
Handler for websocket connection (Step 4/?)
...
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 14:39:15 +02:00
bel
d64d507eaa
Handler for websocket connection (Step 3/?)
...
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 10:54:46 +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
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
Danny Al-Gaaf
1d5124ed5e
WebSockCallbacks.c: replace obsolete asctime()
...
The asctime() function is marked as obsolete by POSIX.1-2008-
Replace with recommended strftime();
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de >
2015-03-23 16:40:10 +01:00
Danny Al-Gaaf
ec9d5413a8
replace Windows CRLF with Unix newline
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de >
2015-03-23 16:38:15 +01:00