Lines Matching full:we
542 /* We cannot send more data than space available in the send buffer. */ in http_write()
696 /* If we have no parameters at all, return immediately. */ in extract_uri_parameters()
721 /* We didn't find a new parameter so find the end of the URI and in extract_uri_parameters()
728 /* Revert to NULL so that we exit the loop as expected. */ in extract_uri_parameters()
789 /* Find this tag in the list we have been provided. */
816 /* If we drop out, we were asked to serve a page which contains tags that
817 * we don't have a handler for. Merely echo back the tags with an error
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
873 /* We are dealing with a particular filename. Look for one other
874 special case. We assume that any filename with "404" in it must be
894 /* Get a pointer to the file extension. We find this by looking for the
905 /* Have we found a matching extension? */
920 /* Does the URL passed have any file extension? If not, we assume it
921 is a special-case URL used for control state notification and we do
930 /* Did we find a matching extension? */
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
1038 /* Remember that we added some more data to be transmitted. */
1049 /* Have we finished sending this string? */
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
1075 * the header information we just wrote immediately. If there are no
1076 * more headers to send, but we do have file data to send, drop through
1103 /* Do we have a valid file handle? */
1111 /* We reached the end of the file so this request is done. */
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. */
1163 /* We reached the end of the file so this request is done.
1170 /* Set up to send the block of data we just read */
1198 /* We are not processing an SHTML file so no tag checking is necessary.
1199 * Just send the data as we received it from the file. */
1228 /* We are processing an SHTML file so need to scan for tags and replace
1229 * them with insert strings. We need to be careful here since a tag may
1230 * straddle the boundary of two blocks read from the file and we may also
1233 /* How much data could we send? */
1236 /* Do we have remaining data to send before parsing more? */
1255 /* We have sent all the data that was already parsed so continue parsing
1263 /* We are not currently processing an SSI tag so scan for the
1267 /* We found what could be the lead-in for a new tag so change
1285 /* We are processing the lead-in marker, looking for the start of
1288 /* Have we reached the end of the leadin? */
1293 /* Have we found the next character we expect for the tag leadin? */
1295 /* Yes - move to the next one unless we have found the complete
1296 * leadin, in which case we start looking for the tag itself */
1299 /* We found an unexpected character so this is not a tag. Move
1311 /* We are reading the tag name, looking for the start of the
1325 /* Have we found the end of the tag name? This is signalled by
1332 /* We read a zero length tag so ignore it. */
1335 /* We read a non-empty tag so go ahead and look for the
1363 /* We are looking for the end of the lead-out marker. */
1376 /* Have we found the next character we expect for the tag leadout? */
1378 /* Yes - move to the next one unless we have found the complete
1379 * leadout, in which case we need to call the client to process
1389 * tag we just found. */
1395 /* Next time through, we are going to be sending data
1396 * immediately, either the end of the block we start
1406 * tag, we need to send it now. */
1408 /* How much of the data can we send? */
1412 /* we would include the tag in sending */
1431 /* We found an unexpected character so this is not a tag. Move
1440 * We have found a valid tag and are in the process of sending
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? */
1453 /* we would include the tag in sending */
1484 /* Do we still have insert data left to send? */
1486 /* We are sending the insert string itself. How much of the
1487 * insert can we send? */
1490 /* Note that we set the copy flag here since we only have a
1491 * single tag insert buffer per connection. If we don't do
1493 * is processed before we call tcp_output. */
1506 /* We have sent all the insert data so go back to looking for
1523 /* If we drop out of the end of the for loop, this implies we must have
1524 * file data to send so send it now. In TAG_SENDING state, we've already
1529 /* If we found tag on the edge of the read buffer: just throw away the first part
1530 (we have copied/saved everything required for parsing on later). */
1572 /* If we were passed a NULL state structure pointer, ignore the call. */
1578 /* Check if we are allowed to read from this file.
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
1615 /* We reached the end of the file so this request is done.
1864 /* If we come here, headers are fully received (double-crlf), but Content-Length
1865 was not included. Since this is currently the only supported method, we have
1870 /* if we come here, the POST is incomplete */
1932 /* If we wrote anything to be sent, go ahead and send it now. */
1990 /* increase pbuf ref counter as it is freed when we return but we want to
2041 /* if we come here, method is OK, parse URI */
2138 /* See if we have been asked for an shtml file and, if so,
2188 /* By default, assume we will not be processing server-side-includes tags */
2191 /* Have we been asked for the default file (in root or a directory) ? */
2204 /* Try each of the configured default filenames until we find one
2237 /* No - we've been asked for a specific file. */
2248 /* Does the base URI we have isolated correspond to a CGI handler? */
2253 * We found a CGI that handles this URI so extract the
2465 * This could be increased, but we don't want to waste resources for bad connections.
2501 /* If we wrote anything to be sent, go ahead and send it now. */
2525 /* Inform TCP that we have taken the data. */
2543 /* Inform TCP that we have taken the data. */
2590 /* already sending but still receiving data, we might want to RST here? */
2624 /* Tell TCP that this is the structure we wish to be passed for our