Skip to content
Snippets Groups Projects
  1. Nov 06, 2012
    • Andreas Gohr's avatar
      fix regression bug in HTTPClient FS#2621 · bfd975d2
      Andreas Gohr authored
      In the recent refactoring of the HTTPClient, a problem with certain
      systems was reintroduced. On these systems a select() call always
      waits for a timeout on the first call before working properly on the
      second call.
      
      This patch reintroduces the shorter timeouts with usleep rate limiting
      again.
      
      Since this bug is not reproducible on other systems it can't be unit
      tested unfortunately.
      bfd975d2
  2. Jun 27, 2012
  3. Jun 20, 2012
  4. Jun 19, 2012
  5. Jun 18, 2012
  6. Mar 18, 2012
  7. Mar 16, 2012
  8. Feb 22, 2012
  9. Nov 27, 2011
  10. Aug 21, 2011
  11. Feb 06, 2011
    • Andreas Gohr's avatar
      better stream writing in HTTPClient FS#2036 · dd47a314
      Andreas Gohr authored
      This changes the HTTP stream to blocking while writing to the stream
      using select() to handle timeouts. Addtionally, wwriting is done in 4k
      block now (as it is done with reading).
      
      This is supposed to fix a problem with writing to a SSL stream that is
      not quite ready.
      
      Reading from the stream continues to be non-blocking as before.
      dd47a314
  12. Jan 12, 2011
  13. Dec 08, 2010
  14. Dec 02, 2010
  15. Nov 29, 2010
  16. Oct 07, 2010
  17. Sep 28, 2010
  18. Sep 24, 2010
    • Andreas Gohr's avatar
      ignore wrong content-encoding header FS#2037 · 07d7dfcf
      Andreas Gohr authored
      Some servers send a content-encoding for gzip files but do not encode
      the content themselves. This is IMHO wrong, this patch detects this
      and ignores the header. The request will return true but set a
      warning message in $this->error
      07d7dfcf
  19. Sep 17, 2010
  20. Aug 02, 2010
  21. Jun 26, 2010
  22. Jan 15, 2010
  23. Nov 04, 2009
    • Adrian Lang's avatar
      Emit less E_NOTICEs and E_STRICTs · c66972f2
      Adrian Lang authored
        Changes of behaviour are:
        * Allow the user name, title & description \e2\80\9c0\e2\80\9d
        * Default to Port 443 if using HTTPS
        * Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is
          logged in
        * Do not pass empty fragment field in the event data for event
          ACTION_SHOW_REDIRECT
        * Handle chunked encoding in HTTPClient
      
      darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz
      c66972f2
  24. Sep 04, 2009
    • Andreas Gohr's avatar
      Handle relative redirects correctly FS#1741 · 824defcf
      Andreas Gohr authored
      Ignore-this: a85fdaa1c3aae0315a5f2a51ccbde5a0
      Some servers (or scripts) do not send full qualified URLs in the Location
      header on redirects.
      
      darcs-hash:20090904152257-7ad00-a9749251c59e4235723ed18bcb9a8f4d3f4157ba.gz
      824defcf
  25. Aug 30, 2009
  26. Jul 25, 2009
  27. Jun 05, 2009
    • Andreas Gohr's avatar
      Moved HTTPCLIENT_REQUEST_SEND event · 3b787fa5
      Andreas Gohr authored
      Ignore-this: 8e7c6aae103f1bced33a74a2440c2fe8
      
      This patch moves the HTTPCLIENT_REQUEST_SEND event from HTTPClient to
      DokuHTTPClient. This keeps the main HTTPClient class free from any DokuWiki
      specific code for easier reuse elsewhere.
      
      darcs-hash:20090605104603-7ad00-8e56892a7f20b4c7010fb2f8d54ae381f984dfc2.gz
      3b787fa5
Loading