1. 06 Nov, 2008 2 commits
    • Max Kellermann's avatar
      input_curl: return 0 on error from read() · e2d7318a
      Max Kellermann authored
      The read() method must not return a negative value.  Make it return 0
      on error, just like the file input stream.  Also set the "error"
      attribute to -1.
      e2d7318a
    • Max Kellermann's avatar
      input_curl: enable FAILONERROR · a8e81326
      Max Kellermann authored
      I had this option enabled during development, but at some point, it
      must have gotten lost.  FAILONERROR makes the curl stream fail when
      the server returns a status code 400 or higher.  We are not interested
      in the server's error document.
      a8e81326
  2. 05 Nov, 2008 27 commits
  3. 04 Nov, 2008 11 commits