diff options
Diffstat (limited to 'src/lib/request_resume.c')
-rw-r--r-- | src/lib/request_resume.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/lib/request_resume.c b/src/lib/request_resume.c new file mode 100644 index 00000000..cd642580 --- /dev/null +++ b/src/lib/request_resume.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* | ||
2 | This file is part of libmicrohttpd | ||
3 | Copyright (C) 2007-2018 Daniel Pittman and Christian Grothoff | ||
4 | |||
5 | This library is free software; you can redistribute it and/or | ||
6 | modify it under the terms of the GNU Lesser General Public | ||
7 | License as published by the Free Software Foundation; either | ||
8 | version 2.1 of the License, or (at your option) any later version. | ||
9 | |||
10 | This library is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Lesser General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Lesser General Public | ||
16 | License along with this library; if not, write to the Free Software | ||
17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
18 | */ | ||
19 | |||
20 | /** | ||
21 | * @file lib/request_resume.c | ||
22 | * @brief implementation of MHD_request_resume() | ||
23 | * @author Christian Grothoff | ||
24 | */ | ||
25 | #include "internal.h" | ||
26 | |||
27 | |||
28 | /** | ||
29 | * Resume handling of network data for suspended request. It is | ||
30 | * safe to resume a suspended request at any time. Calling this | ||
31 | * function on a request that was not previously suspended will | ||
32 | * result in undefined behavior. | ||
33 | * | ||
34 | * If you are using this function in ``external'' select mode, you must | ||
35 | * make sure to run #MHD_run() afterwards (before again calling | ||
36 | * #MHD_get_fdset(), as otherwise the change may not be reflected in | ||
37 | * the set returned by #MHD_get_fdset() and you may end up with a | ||
38 | * request that is stuck until the next network activity. | ||
39 | * | ||
40 | * @param request the request to resume | ||
41 | */ | ||
42 | void | ||
43 | MHD_request_resume (struct MHD_Request *request) | ||
44 | { | ||
45 | abort (); // not implemented... | ||
46 | } | ||
47 | |||
48 | /* end of request_resume.c */ | ||