Skip to content
  1. Jan 28, 2001
  2. Jan 27, 2001
  3. Jan 26, 2001
  4. Jan 24, 2001
  5. Jan 23, 2001
  6. Jan 21, 2001
  7. Jan 20, 2001
  8. Jan 19, 2001
  9. Jan 18, 2001
  10. Jan 15, 2001
  11. Jan 12, 2001
  12. Jan 07, 2001
  13. Jan 05, 2001
  14. Jan 03, 2001
  15. Jan 02, 2001
  16. Dec 31, 2000
  17. Dec 29, 2000
  18. Dec 28, 2000
    • Ryan Bloom's avatar
      Ignore CRLF (or LF) when PEEK'ing at data on the socket. The general · de9c9a7c
      Ryan Bloom authored
      problem is that some browsers send an extra line at the end of a POST
      request.  We use the PEEK method to determine if there is any data left
      on the socket, if there is then we delay sending the response until we
      have enough data to make it worthwhile.  If the browser sends an extra
      blank line, we don't want to delay the response at all.  The only time
      we use the PEEK method is to check for a second request, so this is safe
      to do.
      
      This also solves Joe Orton's problem of specifying a Content- Length
      of 1 for a blank line, and having the server wait to send back a response.
      The problem is that Linux (all Unix really) sends two characters \r\n for
      a blank line, so specifying a C-L of 1 means that the server still sees
      a \n when it PEEKs that the socket data.  That \n can be safely ignored
      however.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87540 13f79535-47bb-0310-9956-ffa450edef68
      de9c9a7c
  19. Dec 27, 2000