Sergey Lyubka
|
cf53f3da4f
Revert "Added MG_SHUTDOWN event"
|
há 13 anos atrás |
Sergey Lyubka
|
15a0d819ed
Added MG_SHUTDOWN event
|
há 13 anos atrás |
Sergey Lyubka
|
6add727c72
%zu printf spec is not understood by MS compiler, changing it to %lu
|
há 13 anos atrás |
Sergey Lyubka
|
375950f6d7
Fixed hang for keep-alive connections
|
há 13 anos atrás |
Sergey Lyubka
|
38d805933e
Passing mg_connection to pull() function, in order to give it access to the stop status
|
há 13 anos atrás |
Sergey Lyubka
|
941500f967
Sorted options list alphabetically
|
há 13 anos atrás |
Sergey Lyubka
|
6619f2edac
Implemented -x option
|
há 13 anos atrás |
Sergey Lyubka
|
33853cd5de
BUFSIZ -> MG_BUF_LEN
|
há 13 anos atrás |
Sergey Lyubka
|
9a807aa7be
Added If-None-Match support
|
há 13 anos atrás |
Sergey Lyubka
|
4a5e1ecf92
Fixed error logging in set_ssl_option()
|
há 13 anos atrás |
Sergey Lyubka
|
0e0091e1c0
Changing API: callback doesnt get mg_request_info pointer anymore, but it is possible to get it using mg_get_request_info()
|
há 13 anos atrás |
Sergey Lyubka
|
e8f3132aa8
Added .json => text/json mime type. In handle_cgi_request, closing write stream straight after data is sent to the CGI process.
|
há 13 anos atrás |
Sergey Lyubka
|
dccc524adb
Fixed fseek() on large files on windows, using _lseeki64() and not casting to off_t
|
há 13 anos atrás |
Sergey Lyubka
|
b42d25edd2
NOT exporting string functions
|
há 13 anos atrás |
Sergey Lyubka
|
39215f6930
Exported mg_get_builtin_mime_type()
|
há 13 anos atrás |
Sergey Lyubka
|
df7da95cb6
Setting Host header in mg_fetch. Added test for fetching large file.
|
há 13 anos atrás |
Sergey Lyubka
|
4bc508525b
Exported string functions
|
há 13 anos atrás |
Sergey Lyubka
|
a9bb7d78ab
Fixed mg_fetch() by passing a buffer, placeholder for the reply headers
|
há 13 anos atrás |
Sergey Lyubka
|
e6bb39a2d3
Using client-side SSL context for mg_connect()
|
há 13 anos atrás |
Sergey Lyubka
|
104480ed9c
mg_start_thread() exported
|
há 13 anos atrás |
Sergey Lyubka
|
c1ab21ecfe
Argh, nasty typo fixed
|
há 13 anos atrás |
Sergey Lyubka
|
6c54370aa1
Added mg_connect(), mg_fetch() API functions. More tests added
|
há 13 anos atrás |
Sergey Lyubka
|
0b4676b711
More unit test for parse_http_header()
|
há 13 anos atrás |
Sergey Lyubka
|
39fd804aeb
Using BUFSIZ->16384 buffer size for the headers returned by CGI. BUFSIZ may be too small, e.g. 512
|
há 13 anos atrás |
Sergey Lyubka
|
97392645c4
Refactored read_request()
|
há 13 anos atrás |
Sergey Lyubka
|
9771d184f2
Squashed -DNO_SSL build warning
|
há 13 anos atrás |
Sergey Lyubka
|
3ca6155add
should_keep_alive() nitpick fix
|
há 13 anos atrás |
Sergey Lyubka
|
594a37d51d
refactored should_keep_alive() for better readability
|
há 13 anos atrás |
Sergey Lyubka
|
5071978267
Corrected should_keep_alive() per bel2s suggestions
|
há 13 anos atrás |
Sergey Lyubka
|
e6357396ef
made readdir() static
|
há 13 anos atrás |