Lines Matching full:send
82 * filename that the HTTP server will send to the browser as a response to
178 /* Filename for response file to send when POST is finished or
404 /* send RST when killing a connection because of memory shortage */ in http_kill_oldest_connection()
484 …LWIP_DEBUGF(HTTPD_DEBUG_TIMING, ("httpd: needed %"U32_F" ms to send file of %d bytes -> %"U32_F" b… in http_state_eof()
525 * @param pcb altcp_pcb to send
526 * @param ptr Data to send
527 * @param length Length of data to send (in/out: on return, contains the
542 /* We cannot send more data than space available in the send buffer. */ in http_write()
555 LWIP_DEBUGF(HTTPD_DEBUG | LWIP_DBG_TRACE, ("Trying to send %d bytes\n", len)); in http_write()
566 ("Send failed, trying less (%d bytes)\n", len)); in http_write()
574 …LWIP_DEBUGF(HTTPD_DEBUG | LWIP_DBG_TRACE, ("Send failed with err %d (\"%s\")\n", err, lwip_strerr(… in http_write()
849 /* In all cases, the second header we send is the server identification
855 /* Is this a normal file or the special case we use to send back the
868 /* Set up to send the first header string. */
922 not send any HTTP headers with the response. */
941 /* Set up to send the first header string. */
989 /** Sub-function of http_send(): send dynamic headers
994 * so don't send HTTP body yet
1010 /* How much data can we send? */
1018 /* How much do we have to send from the current header? */
1021 /* How much of this can we send? */
1024 /* Send this amount of data or as much as we can given memory
1041 /* special case: http_write does not try to send 1 byte */
1063 /* When we are at the end of the headers, check for data to send
1074 /* If we get here and there are still header bytes to send, we send
1076 * more headers to send, but we do have file data to send, drop through
1077 * to try to send some file data too. */
1117 /* Do we already have a send buffer allocated? */
1122 /* We don't have a send buffer so allocate one now */
1143 /* Did we get a send buffer? If not, return immediately. */
1170 /* Set up to send the block of data we just read */
1186 /** Sub-function of http_send(): This is the normal send-routine for non-ssi files
1199 * Just send the data as we received it from the file. */
1213 /** Sub-function of http_send(): This is the send-routine for ssi files
1233 /* How much data could we send? */
1236 /* Do we have remaining data to send before parsing more? */
1247 /* If the send buffer is full, return now. */
1406 * tag, we need to send it now. */
1408 /* How much of the data can we send? */
1441 * data as a result of that discovery. We send either remaining data
1445 /* Do we have any remaining file data to send from the buffer prior
1448 /* How much of the data can we send? */
1475 /* Did the last SSIHandler have more to send? */
1484 /* Do we still have insert data left to send? */
1487 * insert can we send? */
1524 * file data to send so send it now. In TAG_SENDING state, we've already
1525 * handled this so skip the send if that's the case. */
1553 * Try to send more data on this pcb.
1555 * @param pcb the pcb to send data
1586 /* Do we have any more header data to send for this file? */
1597 /* Have we run out of file data to send? If so, we need to read the next
1626 /** Initialize a http connection with a file to send for an error message
1689 * send back a default 404 page.
1920 /** Try to send more data if file has been blocked before
1930 LWIP_DEBUGF(HTTPD_DEBUG | LWIP_DBG_TRACE, ("httpd_continue: try to send more data\n"));
1932 /* If we wrote anything to be sent, go ahead and send it now. */
2286 /* None of the default filenames exist so send back a 404 page */
2292 /** Initialize a http connection with a file to send (if found).
2296 * @param file file structure to send (or NULL if not found)
2393 /* Determine the HTTP headers to send based on the file extension of
2495 /* If this connection has a file open, try to send some more data. If
2499 LWIP_DEBUGF(HTTPD_DEBUG | LWIP_DBG_TRACE, ("http_poll: try to send more data\n"));
2501 /* If we wrote anything to be sent, go ahead and send it now. */
2555 /* all data received, send response or close connection */