Christian Grothoff
1a23dd25c3
misc style improvements, fixing some tiny rare memory leaks in examples
2017-10-05 23:16:19 +02:00
Evgeny Grin (Karlson2k)
a5b63e992b
Muted compiler warnings in examples.
2017-09-29 22:07:49 +03:00
Christian Grothoff
59268ccff1
Still there is an issue with re-open a file. Patch applied below to
...
avoid it.
Also iterate_post() always returns MHD_OK, because the app's logic
driven
from the value of con_info->answercode().
And in case if fwrite() fails we also update the answer code & page and
MHD_post_process() overwrite them (fileioerror becomes postprocerror).
2017-03-14 02:41:50 +01:00
Christian Grothoff
740a46dd36
fix largepost example, must only queue replies either before upload happens or after upload is done, not while upload is ongoing
2017-03-11 12:07:38 +01:00
Evgeny Grin (Karlson2k)
a48ca85fb7
Renamed daemon flags:
...
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD
MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD
MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
2016-11-08 00:54:59 +03:00
Evgeny Grin (Karlson2k)
dc1eb9a9d7
largepost.c: corrected const pointer to const char
2016-04-11 14:52:17 +00:00
Evgeny Grin (Karlson2k)
d4d4393a16
Added check result of MHD_post_process() in largepost.c
2016-04-11 14:08:30 +00:00
Evgeny Grin (Karlson2k)
2cf1ffafba
largepost.c: fixed compiling by VS
2016-04-11 14:08:18 +00:00
Christian Grothoff
26a19e6787
cleaning up largepost
2015-12-11 22:29:46 +00:00
Christian Grothoff
14dad00f46
cast intentionally ignored return values to void, even in examples
2013-06-21 17:55:34 +00:00
LRN
aeaea9eda2
W32 compatibility, also use ISO C instead of POSIX
2013-04-23 11:38:09 +00:00
Christian Grothoff
9c62ac3733
-fix double-close
2013-03-12 14:23:57 +00:00
Christian Grothoff
bf92eff1f8
close file, clarify license
2012-08-23 12:36:18 +00:00
Christian Grothoff
7c89f644a1
need to use must copy, as page is on the stack
2012-08-14 18:37:27 +00:00
Christian Grothoff
e815956b7b
specify content type
2012-08-14 17:16:38 +00:00
Christian Grothoff
300f5594b1
making examples compile without warnings
2012-08-14 17:10:50 +00:00
Christian Grothoff
43542a78c6
introducing MHD_create_response_from_buffer, deprecating MHD_create_response_from_data
2011-01-04 12:40:03 +00:00
Christian Grothoff
761267757c
ready for 0.9.0
2010-07-26 16:57:47 +00:00
Nils Durner
1b0b8c014d
use untranslated file input mode, important on Windows
2010-01-20 21:07:20 +00:00
Christian Grothoff
b90c37b2f3
incompatible API change to allow 64-bit uploads and downloads on 32-bit systems
2009-02-06 06:12:33 +00:00
Sebastian Gerhardt
88d10158d9
Upgraded & tested tutorial for version 0.4 prerelease0
2008-11-01 08:18:13 +00:00
Christian Grothoff
705bb243b0
indentation
2008-10-13 02:03:03 +00:00
Sebastian Gerhardt
2b583e7140
Added tutorial chapter: processing of large posts
2008-08-31 10:06:55 +00:00