Lines Matching full:if

29  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
58 * headers automatically based on the extension of the file being served. If
87 * The list of supported file types is quite short, so if makefsdata complains
101 #if HTTPD_ENABLE_HTTPS
107 #if LWIP_HTTPD_TIMING
115 #if LWIP_TCP && LWIP_CALLBACK_API
121 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE
126 #if LWIP_HTTPD_DYNAMIC_FILE_READ
164 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
169 #if LWIP_HTTPD_SUPPORT_POST
170 #if LWIP_HTTPD_POST_MAX_RESPONSE_URI_LEN > LWIP_HTTPD_MAX_REQUEST_URI_LEN
177 #if LWIP_HTTPD_URI_BUF_LEN
183 #if LWIP_HTTPD_DYNAMIC_HEADERS
203 #if LWIP_HTTPD_SSI
217 #if !LWIP_HTTPD_SSI_INCLUDE_TAG
224 #if LWIP_HTTPD_SSI_MULTIPART
242 #if LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED
250 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
254 #if LWIP_HTTPD_DYNAMIC_FILE_READ
260 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE
263 #if LWIP_HTTPD_SSI
266 #if LWIP_HTTPD_CGI
270 #if LWIP_HTTPD_DYNAMIC_HEADERS
277 #if LWIP_HTTPD_TIMING
280 #if LWIP_HTTPD_SUPPORT_POST
282 #if LWIP_HTTPD_POST_MANUAL_WND
290 #if HTTPD_USE_MEM_POOL
292 #if LWIP_HTTPD_SSI
302 #if LWIP_HTTPD_SSI
314 #if LWIP_HTTPD_FS_ASYNC_READ
318 #if LWIP_HTTPD_SSI
321 #if !LWIP_HTTPD_SSI_RAW
336 #if LWIP_HTTPD_CGI
348 #if LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED
365 if (http_connections) { in http_remove_connection()
366 if (http_connections == hs) { in http_remove_connection()
371 if (last->next == hs) { in http_remove_connection()
386 #if LWIP_HTTPD_SSI in http_kill_oldest_connection()
387 if (ssi_required) { in http_kill_oldest_connection()
388 if (hs->next->ssi != NULL) { in http_kill_oldest_connection()
401 if (hs_free_next != NULL) { in http_kill_oldest_connection()
415 #if LWIP_HTTPD_SSI
421 #if LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED in http_ssi_state_alloc()
422 if (ret == NULL) { in http_ssi_state_alloc()
427 if (ret != NULL) { in http_ssi_state_alloc()
437 if (ssi != NULL) { in http_ssi_state_free()
450 #if LWIP_HTTPD_DYNAMIC_HEADERS in http_state_init()
461 #if LWIP_HTTPD_KILL_OLD_ON_CONNECTIONS_EXCEEDED in http_state_alloc()
462 if (ret == NULL) { in http_state_alloc()
467 if (ret != NULL) { in http_state_alloc()
475 * Also frees the file data if dynamic.
480 if (hs->handle) { in http_state_eof()
481 #if LWIP_HTTPD_TIMING in http_state_eof()
490 #if LWIP_HTTPD_DYNAMIC_FILE_READ in http_state_eof()
491 if (hs->buf != NULL) { in http_state_eof()
496 #if LWIP_HTTPD_SSI in http_state_eof()
497 if (hs->ssi) { in http_state_eof()
502 #if LWIP_HTTPD_SUPPORT_REQUESTLIST in http_state_eof()
503 if (hs->req) { in http_state_eof()
511 * Also frees the file data if dynamic.
516 if (hs != NULL) { in http_state_free()
539 if (len == 0) { in http_write()
544 if (max_len < len) { in http_write()
550 if (len > max_len) { in http_write()
557 if (err == ERR_MEM) { in http_write()
558 if ((altcp_sndbuf(pcb) == 0) || in http_write()
570 if (err == ERR_OK) { in http_write()
578 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE in http_write()
601 #if LWIP_HTTPD_SUPPORT_POST in http_close_or_abort_conn()
602 if (hs != NULL) { in http_close_or_abort_conn()
603 if ((hs->post_content_len_left != 0) in http_close_or_abort_conn()
604 #if LWIP_HTTPD_POST_MANUAL_WND in http_close_or_abort_conn()
621 if (hs != NULL) { in http_close_or_abort_conn()
625 if (abort_conn) { in http_close_or_abort_conn()
630 if (err != ERR_OK) { in http_close_or_abort_conn()
658 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE in http_eof()
659 if (hs->keepalive) { in http_eof()
677 #if LWIP_HTTPD_CGI || LWIP_HTTPD_CGI_SSI
696 /* If we have no parameters at all, return immediately. */ in extract_uri_parameters()
697 if (!params || (params[0] == '\0')) { in extract_uri_parameters()
705 * remainder (if any) */ in extract_uri_parameters()
717 if (pair) { in extract_uri_parameters()
724 if (pair) { in extract_uri_parameters()
735 if (equals) { in extract_uri_parameters()
747 #if LWIP_HTTPD_SSI
761 #if LWIP_HTTPD_SSI_RAW
768 #if LWIP_HTTPD_SSI_MULTIPART
775 #if LWIP_HTTPD_SSI_MULTIPART
779 #if LWIP_HTTPD_SSI_RAW
783 if (httpd_ssi_handler
784 #if !LWIP_HTTPD_SSI_RAW
790 #if LWIP_HTTPD_SSI_RAW
794 if (strcmp(ssi->tag_name, httpd_tags[tag]) == 0)
799 #if LWIP_HTTPD_SSI_MULTIPART
802 #if LWIP_HTTPD_FILE_STATE
806 #if LWIP_HTTPD_SSI_RAW
807 if (ssi->tag_insert_len != HTTPD_SSI_TAG_UNKNOWN)
816 /* If we drop out, we were asked to serve a page which contains tags that
836 #if LWIP_HTTPD_DYNAMIC_HEADERS
857 if (uri == NULL) {
859 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE
860 if (hs->keepalive) {
877 if (strstr(uri, "404")) {
879 } else if (strstr(uri, "400")) {
881 } else if (strstr(uri, "501")) {
887 /* Determine if the URI has any variables and, if so, temporarily remove
890 if (vars) {
902 if (ext != NULL) {
906 if (!lwip_stricmp(g_psHTTPHeaders[content_type].extension, ext)) {
914 /* Reinstate the parameter marker if there was one in the original URI. */
915 if (vars) {
919 #if LWIP_HTTPD_OMIT_HEADER_FOR_EXTENSIONLESS_URI
920 /* Does the URL passed have any file extension? If not, we assume it
923 if (!ext) {
931 if (content_type < NUM_HTTP_HEADERS) {
934 } else if (!ext) {
955 #if LWIP_HTTPD_SSI
956 if (hs->ssi == NULL) /* @todo: get maximum file length from SSI */
959 if ((hs->handle != NULL) && (hs->handle->flags & FS_FILE_FLAGS_HEADER_PERSISTENT)) {
963 if (add_content_len) {
968 if (len <= LWIP_HTTPD_MAX_CONTENT_LEN_SIZE - LWIP_HTTPD_MAX_CONTENT_LEN_OFFSET) {
975 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE
976 if (add_content_len) {
983 if (add_content_len) {
1005 if (hs->hdrs[HDR_STRINGS_IDX_CONTENT_LEN_KEEPALIVE] == NULL) {
1029 if (hs->hdr_index == HDR_STRINGS_IDX_CONTENT_LEN_NR) {
1033 if (hs->hdr_index < NUM_FILE_HDR_STRINGS - 1) {
1037 if ((err == ERR_OK) && (old_sendlen != sendlen)) {
1040 } else if (err != ERR_OK) {
1050 if (hs->hdr_pos == hdrlen) {
1062 if ((hs->hdr_index >= NUM_FILE_HDR_STRINGS) && (hs->file == NULL)) {
1066 if (http_check_eof(pcb, hs)) {
1074 /* If we get here and there are still header bytes to send, we send
1075 * the header information we just wrote immediately. If there are no
1078 if ((hs->hdr_index < NUM_FILE_HDR_STRINGS) || !hs->file) {
1087 * either close the file or read the next block (if supported).
1089 * @returns: 0 if the file is finished or no data has been read
1090 * 1 if the file is not finished and data has been read
1096 #if LWIP_HTTPD_DYNAMIC_FILE_READ
1104 if (hs->handle == NULL) {
1110 if (bytes_left <= 0) {
1116 #if LWIP_HTTPD_DYNAMIC_FILE_READ
1118 if (hs->buf) {
1124 if (bytes_left < count) {
1130 if (count > max_write_len) {
1136 if (hs->buf != NULL) {
1143 /* Did we get a send buffer? If not, return immediately. */
1144 if (hs->buf == NULL) {
1153 #if LWIP_HTTPD_FS_ASYNC_READ
1158 if (count < 0) {
1159 if (count == FS_READ_DELAYED) {
1174 #if LWIP_HTTPD_SSI
1175 if (hs->ssi) {
1203 if (err == ERR_OK) {
1212 #if LWIP_HTTPD_SSI
1237 if (ssi->parsed > hs->file) {
1241 if (err == ERR_OK) {
1247 /* If the send buffer is full, return now. */
1248 if (altcp_sndbuf(pcb) == 0) {
1258 if (len == 0) {
1266 if (*ssi->parsed == http_ssi_tag_desc[tag_type].lead_in[0]) {
1272 #if !LWIP_HTTPD_SSI_INCLUDE_TAG
1289 if (http_ssi_tag_desc[ssi->tag_type].lead_in[ssi->tag_index] == 0) {
1294 if (*ssi->parsed == http_ssi_tag_desc[ssi->tag_type].lead_in[ssi->tag_index]) {
1316 if ((ssi->tag_index == 0) && ((*ssi->parsed == ' ') ||
1327 if ((*ssi->parsed == http_ssi_tag_desc[ssi->tag_type].lead_out[0]) ||
1331 if (ssi->tag_index == 0) {
1341 if (*ssi->parsed == http_ssi_tag_desc[ssi->tag_type].lead_out[0]) {
1349 if (ssi->tag_index < LWIP_HTTPD_MAX_TAG_NAME_LEN) {
1367 if ((ssi->tag_index == 0) && ((*ssi->parsed == ' ') ||
1377 if (*ssi->parsed == http_ssi_tag_desc[ssi->tag_type].lead_out[ssi->tag_index]) {
1387 if (http_ssi_tag_desc[ssi->tag_type].lead_out[ssi->tag_index] == 0) {
1390 #if LWIP_HTTPD_SSI_MULTIPART
1401 #if !LWIP_HTTPD_SSI_INCLUDE_TAG
1405 /* If there is any unsent data in the buffer prior to the
1407 if (ssi->tag_end > hs->file) {
1409 #if LWIP_HTTPD_SSI_INCLUDE_TAG
1417 if (err == ERR_OK) {
1419 #if !LWIP_HTTPD_SSI_INCLUDE_TAG
1420 if (ssi->tag_started <= hs->file) {
1447 if (ssi->tag_end > hs->file) {
1449 #if LWIP_HTTPD_SSI_INCLUDE_TAG
1456 if (len != 0) {
1461 if (err == ERR_OK) {
1463 #if !LWIP_HTTPD_SSI_INCLUDE_TAG
1464 if (ssi->tag_started <= hs->file) {
1473 #if LWIP_HTTPD_SSI_MULTIPART
1474 if (ssi->tag_index >= ssi->tag_insert_len) {
1476 if (ssi->tag_part != HTTPD_LAST_TAG_PART) {
1477 /* If so, call it again */
1485 if (ssi->tag_index < ssi->tag_insert_len) {
1491 * single tag insert buffer per connection. If we don't do
1492 * this, insert corruption can occur if more than one insert
1496 if (err == ERR_OK) {
1502 #if LWIP_HTTPD_SSI_MULTIPART
1503 if (ssi->tag_part == HTTPD_LAST_TAG_PART)
1511 #if !LWIP_HTTPD_SSI_INCLUDE_TAG
1523 /* If we drop out of the end of the for loop, this implies we must have
1525 * handled this so skip the send if that's the case. */
1526 if ((ssi->tag_state != TAG_SENDING) && (ssi->parsed > hs->file)) {
1527 #if LWIP_HTTPD_DYNAMIC_FILE_READ && !LWIP_HTTPD_SSI_INCLUDE_TAG
1528 if ((ssi->tag_state != TAG_NONE) && (ssi->tag_started > ssi->tag_end)) {
1529 /* If we found tag on the edge of the read buffer: just throw away the first part
1542 if (err == ERR_OK) {
1566 #if LWIP_HTTPD_SUPPORT_POST && LWIP_HTTPD_POST_MANUAL_WND
1567 if (hs->unrecved_bytes != 0) {
1572 /* If we were passed a NULL state structure pointer, ignore the call. */
1573 if (hs == NULL) {
1577 #if LWIP_HTTPD_FS_ASYNC_READ
1578 /* Check if we are allowed to read from this file.
1580 if (!fs_is_file_ready(hs->handle, http_continue, hs)) {
1585 #if LWIP_HTTPD_DYNAMIC_HEADERS
1587 if (hs->hdr_index < NUM_FILE_HDR_STRINGS) {
1589 if ((data_to_send == HTTP_DATA_TO_SEND_FREED) ||
1597 /* Have we run out of file data to send? If so, we need to read the next
1599 if (hs->left == 0) {
1600 if (!http_check_eof(pcb, hs)) {
1605 #if LWIP_HTTPD_SSI
1606 if (hs->ssi) {
1614 if ((hs->left == 0) && (fs_bytes_left(hs->handle) <= 0)) {
1625 #if LWIP_HTTPD_SUPPORT_EXTSTATUS
1630 * @return ERR_OK if file was found and hs has been initialized correctly
1638 if (error_nr == 501) {
1648 if (fs_open(&hs->file_handle, uri1) == ERR_OK) {
1650 } else if (fs_open(&hs->file_handle, uri2) == ERR_OK) {
1652 } else if (fs_open(&hs->file_handle, uri3) == ERR_OK) {
1667 * Tries some file names and returns NULL if none found.
1679 if (err != ERR_OK) {
1683 if (err != ERR_OK) {
1687 if (err != ERR_OK) {
1700 #if LWIP_HTTPD_SUPPORT_POST
1704 #if LWIP_HTTPD_POST_MANUAL_WND
1707 if (hs->post_finished) {
1725 * @return ERR_OK if passed successfully, another err_t if the response file
1733 if (p != NULL) {
1735 if (hs->post_content_len_left < p->tot_len) {
1741 #if LWIP_HTTPD_SUPPORT_POST && LWIP_HTTPD_POST_MANUAL_WND
1742 /* prevent connection being closed if httpd_post_data_recved() is called nested */
1745 if (p != NULL) {
1750 #if LWIP_HTTPD_SUPPORT_POST && LWIP_HTTPD_POST_MANUAL_WND
1753 if (err != ERR_OK) {
1757 if (hs->post_content_len_left == 0) {
1758 #if LWIP_HTTPD_SUPPORT_POST && LWIP_HTTPD_POST_MANUAL_WND
1759 if (hs->unrecved_bytes != 0) {
1792 if (crlfcrlf != NULL) {
1798 if (scontent_len != NULL) {
1800 if (scontent_len_end != NULL) {
1804 if (content_len == 0) {
1805 /* if atoi returns 0 on error, fix this */
1806 if ((content_len_num[0] != '0') || (content_len_num[1] != '\r')) {
1810 if (content_len >= 0) {
1821 if (err == ERR_OK) {
1825 #if LWIP_HTTPD_POST_MANUAL_WND
1836 if (q != NULL) {
1839 #if LWIP_HTTPD_POST_MANUAL_WND
1840 if (!post_auto_wnd) {
1847 } else if (hs->post_content_len_left == 0) {
1864 /* If we come here, headers are fully received (double-crlf), but Content-Length
1870 /* if we come here, the POST is incomplete */
1871 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
1878 #if LWIP_HTTPD_POST_MANUAL_WND
1892 if (hs != NULL) {
1893 if (hs->no_auto_wnd) {
1895 if (hs->unrecved_bytes >= recved_len) {
1902 if (hs->pcb != NULL) {
1903 if (len != 0) {
1906 if ((hs->post_content_len_left == 0) && (hs->unrecved_bytes == 0)) {
1919 #if LWIP_HTTPD_FS_ASYNC_READ
1920 /** Try to send more data if file has been blocked before
1928 if (hs && (hs->pcb) && (hs->handle)) {
1931 if (http_send(hs->pcb, hs)) {
1932 /* If we wrote anything to be sent, go ahead and send it now. */
1947 * @return ERR_OK if request was OK and hs has been initialized correctly
1948 * ERR_INPROGRESS if request was OK so far but not fully received
1958 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
1961 #if LWIP_HTTPD_SUPPORT_POST
1969 if ((hs->handle != NULL) || (hs->file != NULL)) {
1976 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
1983 if (hs->req == NULL) {
1994 if (hs->req->next != NULL) {
2003 if (p->len != p->tot_len) {
2009 if (data_len >= MIN_REQ_LEN) {
2012 if (crlf != NULL) {
2013 #if LWIP_HTTPD_SUPPORT_POST
2021 if (!strncmp(data, "GET ", 4)) {
2025 #if LWIP_HTTPD_SUPPORT_POST
2026 } else if (!strncmp(data, "POST ", 5)) {
2041 /* if we come here, method is OK, parse URI */
2044 #if LWIP_HTTPD_SUPPORT_V09
2045 if (sp2 == NULL) {
2049 #if LWIP_HTTPD_SUPPORT_POST
2050 if (is_post) {
2058 if ((sp2 != 0) && (sp2 > sp1)) {
2060 if (lwip_strnstr(data, CRLF CRLF, data_len) != NULL) {
2062 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE
2065 if (!is_09 && (lwip_strnstr(data, HTTP11_CONNECTIONKEEPALIVE, data_len) ||
2077 #if LWIP_HTTPD_SUPPORT_POST
2078 if (is_post) {
2079 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
2085 if (err != ERR_OK) {
2091 if (err == ERR_ARG) {
2107 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
2109 if ((hs->req->tot_len <= LWIP_HTTPD_REQ_BUFSIZE) &&
2116 #if LWIP_HTTPD_SUPPORT_POST
2125 #if LWIP_HTTPD_SSI && (LWIP_HTTPD_SSI_BY_FILE_EXTENSION == 1)
2126 /* Check if SSI should be parsed for this file/URL
2137 if (file != NULL) {
2138 /* See if we have been asked for an shtml file and, if so,
2142 if (param != NULL) {
2153 if (!lwip_stricmp(ext, g_pcSSIExtensions[loop])) {
2158 if (param != NULL) {
2166 /** Try to find the file specified by uri and, if found, initialize hs
2171 * @param is_09 1 if the request is HTTP/0.9 (no HTTP headers in response)
2172 * @return ERR_OK if file was found and hs has been initialized correctly
2182 #if LWIP_HTTPD_CGI
2185 #if !LWIP_HTTPD_SSI
2192 #if LWIP_HTTPD_MAX_REQUEST_URI_LEN
2194 if ((uri_len > 0) && (uri[uri_len - 1] == '/') &&
2197 if (copy_len > 0) {
2202 if ((uri[0] == '/') && (uri[1] == 0)) {
2208 #if LWIP_HTTPD_MAX_REQUEST_URI_LEN
2209 if (copy_len > 0) {
2211 if (len_left > 0) {
2225 if (err == ERR_OK) {
2229 #if LWIP_HTTPD_SSI
2236 if (file == NULL) {
2240 if (params != NULL) {
2246 #if LWIP_HTTPD_CGI
2249 if (httpd_num_cgis && httpd_cgis) {
2251 if (strcmp(uri, httpd_cgis[i].pcCGIName) == 0) {
2268 if (err == ERR_OK) {
2273 #if LWIP_HTTPD_SSI
2274 if (file != NULL) {
2275 if (file->flags & FS_FILE_FLAGS_SSI) {
2278 #if LWIP_HTTPD_SSI_BY_FILE_EXTENSION
2285 if (file == NULL) {
2292 /** Initialize a http connection with a file to send (if found).
2296 * @param file file structure to send (or NULL if not found)
2297 * @param is_09 1 if the request is HTTP/0.9 (no HTTP headers in response)
2300 * @param params != NULL if URI has parameters (separated by '?')
2301 * @return ERR_OK if file was found and hs has been initialized correctly
2308 #if !LWIP_HTTPD_SUPPORT_V09
2311 if (file != NULL) {
2313 #if !LWIP_HTTPD_DYNAMIC_FILE_READ
2314 /* If dynamic read is disabled, file data must be in one piece and available now */
2318 #if LWIP_HTTPD_SSI
2319 if (tag_check) {
2321 if (ssi != NULL) {
2334 #if LWIP_HTTPD_CGI_SSI
2335 if (params != NULL) {
2338 #if LWIP_HTTPD_CGI
2339 if (http_cgi_paramcount >= 0) {
2347 #if defined(LWIP_HTTPD_FILE_STATE) && LWIP_HTTPD_FILE_STATE
2357 #if LWIP_HTTPD_CUSTOM_FILES
2358 if (file->is_custom_file && (file->data == NULL)) {
2367 #if LWIP_HTTPD_TIMING
2370 #if !LWIP_HTTPD_DYNAMIC_HEADERS
2374 #if LWIP_HTTPD_SUPPORT_V09
2375 if (is_09 && ((hs->handle->flags & FS_FILE_FLAGS_HEADER_INCLUDED) != 0)) {
2379 if (file_start != NULL) {
2392 #if LWIP_HTTPD_DYNAMIC_HEADERS
2395 if ((hs->handle == NULL) || ((hs->handle->flags & FS_FILE_FLAGS_HEADER_INCLUDED) == 0)) {
2401 #if LWIP_HTTPD_SUPPORT_11_KEEPALIVE
2402 if (hs->keepalive) {
2403 #if LWIP_HTTPD_SSI
2404 if (hs->ssi != NULL) {
2409 if ((hs->handle != NULL) &&
2421 * The argument might still be valid (if != NULL).
2431 if (hs != NULL) {
2449 if (hs == NULL) {
2462 * If there has been no data sent (which resets the retries) in 8 seconds, close.
2463 * If the last portion of a file has not been sent in 2 seconds, close.
2474 if (hs == NULL) {
2480 #if LWIP_HTTPD_ABORT_ON_CLOSE_MEM_ERROR
2481 if (closed == ERR_MEM) {
2489 if (hs->retries == HTTPD_MAX_RETRIES) {
2495 /* If this connection has a file open, try to send some more data. If
2498 if (hs->handle) {
2500 if (http_send(pcb, hs)) {
2501 /* If we wrote anything to be sent, go ahead and send it now. */
2513 * For HTTP 1.0, this should normally only happen once (if the request fits in one packet).
2522 if ((err != ERR_OK) || (p == NULL) || (hs == NULL)) {
2524 if (p != NULL) {
2529 if (hs == NULL) {
2537 #if LWIP_HTTPD_SUPPORT_POST && LWIP_HTTPD_POST_MANUAL_WND
2538 if (hs->no_auto_wnd) {
2547 #if LWIP_HTTPD_SUPPORT_POST
2548 if (hs->post_content_len_left > 0) {
2554 if (hs->post_content_len_left == 0) {
2562 if (hs->handle == NULL) {
2566 #if LWIP_HTTPD_SUPPORT_REQUESTLIST
2567 if (parsed != ERR_INPROGRESS) {
2569 if (hs->req != NULL) {
2576 if (parsed == ERR_OK) {
2577 #if LWIP_HTTPD_SUPPORT_POST
2578 if (hs->post_content_len_left == 0)
2584 } else if (parsed == ERR_ARG) {
2608 if ((err != ERR_OK) || (pcb == NULL)) {
2618 if (hs == NULL) {
2642 if (pcb) {
2663 #if HTTPD_USE_MEM_POOL
2665 #if LWIP_HTTPD_SSI
2678 #if HTTPD_ENABLE_HTTPS
2687 #if LWIP_ALTCP_TLS
2697 #if LWIP_HTTPD_SSI
2714 #if LWIP_HTTPD_SSI_RAW
2727 #if LWIP_HTTPD_CGI