Lines Matching full:we
528 /* We cannot send more data than space available in the send buffer. */ in http_write()
682 /* If we have no parameters at all, return immediately. */ in extract_uri_parameters()
707 /* We didn't find a new parameter so find the end of the URI and in extract_uri_parameters()
714 /* Revert to NULL so that we exit the loop as expected. */ in extract_uri_parameters()
775 /* Find this tag in the list we have been provided. */
802 /* If we drop out, we were asked to serve a page which contains tags that
803 * we don't have a handler for. Merely echo back the tags with an error
836 /* In all cases, the second header we send is the server identification
842 /* Is this a normal file or the special case we use to send back the
860 /* We are dealing with a particular filename. Look for one other
861 special case. We assume that any filename with "404" in it must be
881 /* Get a pointer to the file extension. We find this by looking for the
892 /* Have we found a matching extension? */
907 /* Does the URL passed have any file extension? If not, we assume it
908 is a special-case URL used for control state notification and we do
918 /* Did we find a matching extension? */
983 /* How much data can we send? */
991 /* How much do we have to send from the current header? */
994 /* How much of this can we send? */
997 /* Send this amount of data or as much as we can given memory
1011 /* Remember that we added some more data to be transmitted. */
1022 /* Have we finished sending this string? */
1036 /* When we are at the end of the headers, check for data to send
1043 /* If we get here and there are still header bytes to send, we send
1044 * the header information we just wrote immediately. If there are no
1045 * more headers to send, but we do have file data to send, drop through
1072 /* Do we have a valid file handle? */
1080 /* We reached the end of the file so this request is done. */
1086 /* Do we already have a send buffer allocated? */
1091 /* We don't have a send buffer so allocate one now */
1112 /* Did we get a send buffer? If not, return immediately. */
1132 /* We reached the end of the file so this request is done.
1139 /* Set up to send the block of data we just read */
1167 /* We are not processing an SHTML file so no tag checking is necessary.
1168 * Just send the data as we received it from the file. */
1196 /* We are processing an SHTML file so need to scan for tags and replace
1197 * them with insert strings. We need to be careful here since a tag may
1198 * straddle the boundary of two blocks read from the file and we may also
1201 /* How much data could we send? */
1204 /* Do we have remaining data to send before parsing more? */
1223 /* We have sent all the data that was already parsed so continue parsing
1231 /* We are not currently processing an SSI tag so scan for the
1234 /* We found what could be the lead-in for a new tag so change
1249 /* We are processing the lead-in marker, looking for the start of
1252 /* Have we reached the end of the leadin? */
1257 /* Have we found the next character we expect for the tag leadin? */
1259 /* Yes - move to the next one unless we have found the complete
1260 * leadin, in which case we start looking for the tag itself */
1263 /* We found an unexpected character so this is not a tag. Move
1275 /* We are reading the tag name, looking for the start of the
1289 /* Have we found the end of the tag name? This is signalled by
1296 /* We read a zero length tag so ignore it. */
1299 /* We read a non-empty tag so go ahead and look for the
1327 /* We are looking for the end of the lead-out marker. */
1340 /* Have we found the next character we expect for the tag leadout? */
1342 /* Yes - move to the next one unless we have found the complete
1343 * leadout, in which case we need to call the client to process
1352 * tag we just found. */
1358 /* Next time through, we are going to be sending data
1359 * immediately, either the end of the block we start
1369 * tag, we need to send it now. */
1371 /* How much of the data can we send? */
1375 /* we would include the tag in sending */
1396 /* We found an unexpected character so this is not a tag. Move
1405 * We have found a valid tag and are in the process of sending
1406 * data as a result of that discovery. We send either remaining data
1410 /* Do we have any remaining file data to send from the buffer prior
1413 /* How much of the data can we send? */
1418 /* we would include the tag in sending */
1449 /* Do we still have insert data left to send? */
1451 /* We are sending the insert string itself. How much of the
1452 * insert can we send? */
1455 /* Note that we set the copy flag here since we only have a
1456 * single tag insert buffer per connection. If we don't do
1458 * is processed before we call tcp_output. */
1471 /* We have sent all the insert data so go back to looking for
1488 /* If we drop out of the end of the for loop, this implies we must have
1489 * file data to send so send it now. In TAG_SENDING state, we've already
1525 /* If we were passed a NULL state structure pointer, ignore the call. */
1531 /* Check if we are allowed to read from this file.
1539 /* Do we have any more header data to send for this file? */
1549 /* Have we run out of file data to send? If so, we need to read the next
1567 /* We reached the end of the file so this request is done.
1814 /* If we come here, headers are fully received (double-crlf), but Content-Length
1815 was not included. Since this is currently the only supported method, we have
1820 /* if we come here, the POST is incomplete */
1879 /* If we wrote anything to be sent, go ahead and send it now. */
1937 /* increase pbuf ref counter as it is freed when we return but we want to
1988 /* if we come here, method is OK, parse URI */
2094 /* By default, assume we will not be processing server-side-includes tags */
2097 /* Have we been asked for the default file (in root or a directory) ? */
2110 /* Try each of the configured default filenames until we find one
2142 /* No - we've been asked for a specific file. */
2153 /* Does the base URI we have isolated correspond to a CGI handler? */
2158 * We found a CGI that handles this URI so extract the
2180 /* See if we have been asked for an shtml file and, if so,
2380 * This could be increased, but we don't want to waste resources for bad connections.
2416 /* If we wrote anything to be sent, go ahead and send it now. */
2440 /* Inform TCP that we have taken the data. */
2458 /* Inform TCP that we have taken the data. */
2505 /* already sending but still receiving data, we might want to RST here? */
2539 /* Tell TCP that this is the structure we wish to be passed for our