cpq
|
88e880f107
|
Fix #2292 - fail on stray \r character in headers
|
2023-07-09 18:18:18 +01:00 |
|
cpq
|
5dff282132
|
Fix #2293 - stricter header validity check
|
2023-07-07 08:44:25 +01:00 |
|
Sergey Lyubka
|
101beec3ae
|
Merge pull request #2284 from cesanta/enhance-mg_remove_double_dots
enhanced path sanitizing
|
2023-07-03 14:43:32 +01:00 |
|
robert
|
2f1a836bf0
|
enhanced path sanitizing
|
2023-07-03 06:14:50 -04:00 |
|
Sergio R. Caprile
|
eda1e8a402
|
fix header truncation
|
2023-06-27 14:56:04 -03:00 |
|
Sergio R. Caprile
|
c688687ff8
|
Reinstall extra HTTP codes
the extra strings are not polluting the binary much
|
2023-06-27 13:44:44 -03:00 |
|
Sergio R. Caprile
|
26699914cc
|
improve negative Content-length handling
|
2023-05-22 17:40:08 -03:00 |
|
Allan Park
|
4663090a8f
|
Added check for negative value for HTTP Content-Length header
|
2023-05-16 18:52:33 +03:00 |
|
cpq
|
9f5d8c4280
|
Fix #1927: respect Accept-Encoding when serving .gz files
|
2023-04-26 09:07:43 +01:00 |
|
Sergio R. Caprile
|
8e14ad0536
|
Add printf.h
|
2023-04-07 19:28:00 -03:00 |
|
cpq
|
57c1d787e3
|
Fix #2075. Add MG_HTTP_DIRLIST_TIME_FMT, remove MG_HTTP_DIRLIST_TIME and MG_HTTP_DIRLIST_TIME_UTC
|
2023-02-20 21:25:55 +00:00 |
|
Sergio R. Caprile
|
267f54bc0e
|
Fix content-length header in mg_http_reply()
|
2023-02-15 11:28:14 -03:00 |
|
cpq
|
5aebed95a4
|
Fix VC98 build
|
2023-02-12 10:41:51 +00:00 |
|
cpq
|
84893ec582
|
Small usability nits
|
2023-01-27 09:36:16 +00:00 |
|
cpq
|
82d702fedc
|
mg_url_encode() 0-terminate the destination
|
2023-01-16 15:05:04 +00:00 |
|
cpq
|
da5e8e9778
|
Rename struct mg_connection::label -> data. Make its size configurable
|
2023-01-10 08:19:49 +00:00 |
|
cpq
|
c0f15d50d6
|
Squash cppcheck warn
|
2022-12-09 09:29:34 +00:00 |
|
cpq
|
41ea8de0d6
|
Mark request close for HTTP redirects
|
2022-11-20 12:18:15 +00:00 |
|
cpq
|
613655767b
|
Housekeeping at the end of c->label
|
2022-11-01 21:01:03 +00:00 |
|
cpq
|
bbc0c0df94
|
Unbreak test
|
2022-10-28 15:35:40 +01:00 |
|
Yeicor
|
b17c62618d
|
Remove mg_hexdump from deliver_chunked_chunks
|
2022-10-16 21:11:00 +02:00 |
|
cpq
|
9680b8ccb3
|
Fix overflow in rx_icmp
|
2022-09-29 16:53:11 +01:00 |
|
cpq
|
ebd931f7af
|
Get rid of va_copy
|
2022-09-23 08:59:02 +01:00 |
|
Sergey Lyubka
|
50a2063e45
|
Merge pull request #1713 from behnejad/master
display file modify date in "%Y/%m/%d %H:%M:%S".
|
2022-09-08 08:55:22 +01:00 |
|
Behnejad
|
d4cd1c61ee
|
fixing defines.
|
2022-09-07 22:08:50 +04:30 |
|
cpq
|
b2624f6055
|
Make mip-pcap work on Mac
|
2022-09-07 13:36:00 +01:00 |
|
Behnejad
|
ad50447ec6
|
display file modify date in "%Y/%m/%d %H:%M:%S".
adding compile time option to display file modification date as "%Y/%m/%d %H:%M:%S" in http directory indexing.
|
2022-09-07 09:04:15 +04:30 |
|
cpq
|
ef89776517
|
Add reponse end to the http dir list
|
2022-08-28 13:58:41 +01:00 |
|
cpq
|
d2a27d3d91
|
mg_*rprintf -> mg_*xprintf
|
2022-08-13 20:34:20 +01:00 |
|
cpq
|
40ca26f23b
|
Refactor mg_ws_connect()
|
2022-08-13 14:44:08 +01:00 |
|
Sergio R. Caprile
|
374be7b065
|
check for gzipped index file when / is requested
|
2022-08-10 15:54:24 -03:00 |
|
cpq
|
740b609e1e
|
Fix for deliver_normal_chunks() and a test case
|
2022-08-06 09:01:34 +01:00 |
|
cpq
|
779c825e92
|
Fixes to chunked support when pipelining
|
2022-08-05 19:18:06 +01:00 |
|
cpq
|
457ce5e563
|
Refactor chunking support. Fix #1656
|
2022-08-04 17:10:53 +01:00 |
|
Sergey Lyubka
|
bd7ee0d1e8
|
Refactor mg_http_reply and mg_http_printf_chunk to use less allocs and mem copies
|
2022-08-01 21:07:42 +01:00 |
|
Sergey Lyubka
|
f2009ebd62
|
Move mg_*printf* decls in fmt.h
|
2022-07-28 10:18:17 +01:00 |
|
Sergey Lyubka
|
f1da8542ce
|
Nits
|
2022-07-01 17:28:06 +01:00 |
|
Sergey Lyubka
|
99f0688377
|
Change mg_http_upload API
|
2022-06-30 21:54:50 +01:00 |
|
Sergey Lyubka
|
56412193e7
|
Add mg_remove_double_dots(), hide mg_http_upload()
|
2022-06-30 20:27:43 +01:00 |
|
Sergey Lyubka
|
93a6bc501e
|
Refactor guess_mime_type()
|
2022-06-29 10:28:37 +01:00 |
|
Sergey Lyubka
|
1640287897
|
Add mg_http_var
|
2022-06-18 04:25:11 +01:00 |
|
Sergey Lyubka
|
30d6a44b0d
|
Fix mg_http_upload()
|
2022-06-13 14:48:52 +01:00 |
|
Sergey Lyubka
|
c701315ab5
|
Merge pull request #1581 from behnejad/patch-1
fixing offset of Content-Length value.
|
2022-06-07 08:35:24 +01:00 |
|
Sergey Lyubka
|
a53dc5c0a0
|
Fix #1580 - uri_to_path2 for / corner case
|
2022-06-07 04:33:46 +01:00 |
|
Behnejad
|
895ca80b2b
|
fixing offset of Content-Length value.
in very large HTTP response, this offset might cause a problem with HTTP header format.
|
2022-06-07 08:00:12 +04:30 |
|
Sergey Lyubka
|
fe682f8399
|
Fix #1560 - implement precompressed .gz file serving
|
2022-06-02 06:13:37 +01:00 |
|
Sergey Lyubka
|
55517d48ed
|
Change linux target
|
2022-06-01 16:25:04 +01:00 |
|
Sergey Lyubka
|
4dd1891594
|
Add mg_http_serve_opts.page404
|
2022-05-31 23:44:03 +01:00 |
|
Sergey Lyubka
|
65957527cb
|
Fix #1558 - add opts.extra_headers in 304 responses
|
2022-05-30 17:44:26 +01:00 |
|
Sergey Lyubka
|
44cf02e5ba
|
Fix #1545 - do not send MG_EV_HTTP_MSG if chunks were deleted
|
2022-05-30 16:02:59 +01:00 |
|