File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 13
13
14
14
// clang-format off
15
15
#pragma once
16
- #include " crow/common.h"
17
- namespace crow
18
- {
19
16
extern " C" {
20
-
21
17
#include < stddef.h>
22
18
#if defined(_WIN32) && !defined(__MINGW32__) && \
23
19
(!defined(_MSC_VER) || _MSC_VER<1600 ) && !defined(__WINE__)
@@ -35,9 +31,15 @@ typedef unsigned __int64 uint64_t;
35
31
#else
36
32
#include < stdint.h>
37
33
#endif
34
+ #include < assert.h>
35
+ #include < ctype.h>
36
+ #include < string.h>
37
+ #include < limits.h>
38
+ }
38
39
39
-
40
-
40
+ #include " crow/common.h"
41
+ namespace crow
42
+ {
41
43
/* Maximium header size allowed. If the macro is not defined
42
44
* before including this header then the default is used. To
43
45
* change the maximum header size, define the macro in the build
@@ -188,12 +190,6 @@ enum http_errno {
188
190
189
191
190
192
// SOURCE (.c) CODE
191
- #include < assert.h>
192
- #include < stddef.h>
193
- #include < ctype.h>
194
- #include < string.h>
195
- #include < limits.h>
196
-
197
193
static uint32_t max_header_size = CROW_HTTP_MAX_HEADER_SIZE;
198
194
199
195
#ifndef CROW_ULLONG_MAX
@@ -2011,7 +2007,6 @@ http_parser_set_max_header_size(uint32_t size) {
2011
2007
#undef CROW_STRICT_CHECK
2012
2008
#undef CROW_NEW_MESSAGE
2013
2009
2014
- }
2015
2010
}
2016
2011
2017
2012
// clang-format on
You can’t perform that action at this time.
0 commit comments