Skip to content
  • Daniel Stenberg's avatar
    - Eric Wong's patch: · 4b6d3a2b
    Daniel Stenberg authored
      This allows curl(1) to be used as a client-side tunnel for arbitrary stream
      protocols by abusing chunked transfer encoding in both the HTTP request and
      HTTP response.  This requires server support for sending a response while a
      request is still being read, of course.
    
      If attempting to read from stdin returns EAGAIN, then we pause our sender.
      This leaves curl to attempt to read from the socket while reading from stdin
      (and thus sending) is paused.
    4b6d3a2b