summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
Commit message (Collapse)AuthorAge
* fixed HTTPS proxy tests, our tests now run on httpbin.orgAndreas Gohr2015-03-18
| | | | | This also reverses the order of crypto protocols tried again. Using TLS first again. related to #915
* give better error message in HTTPClient for failed crypto setupAndreas Gohr2015-03-18
|
* seems we need to do SSL/TLS checks the other way roundAndreas Gohr2014-12-12
|
* set correct peer name when connecting through a SSL tunnel proxyAndreas Gohr2014-12-11
|
* prefer TLS for SSL Tunnel connections #915Andreas Gohr2014-12-11
|
* Many PHPDocs, some unused and dyn declared varsGerrit Uitslag2014-10-01
| | | | | | many PHPDocs some unused variables some dynamically declared variables declared
* scrutinizer documentations issuesGerrit Uitslag2014-09-29
|
* HTTPClient don't omit headers with value 0Andreas Gohr2014-07-28
|
* allow for easier HTTPClient debuggingAndreas Gohr2014-07-04
| | | | | | | | | | | | | Sometimes users report bugs or problems releated to HTTP connections made by our HTTPCient (eg. in the extension manager or XMLRPC). Debugging those problems previously required modifying some sources to enable the debugging output of the HTTPClient. This patch adds a way to enable the debugging via a request parameter. Since HTTP requests are often done only *after* some button was clicked, the parameter is also looked for in the referrer of a request. Debugging output is enabled through the existence of the parameter 'httpdebug' and is directly printed to the screen. Debugging HTTP only works when allowdebug is enabled.
* removed some unused lines in HTTPClientAndreas Gohr2014-05-25
|
* fixed parameter typeAndreas Gohr2014-05-19
|
* Fix https proxy authentication, the header was missing a colon so thatAlex2014-04-29
| | | | the auth info was not working.
* fixed proxy authentication in SSL tunnelingAndreas Gohr2014-02-23
|
* make HTTPclient check for SSL supportAndreas Gohr2014-02-13
|
* HTTPClient: correctly abort a proxy connectionAndreas Gohr2014-02-11
| | | | if a needed CONNECT tunnel fails
* fix proxy CONNECT where HTTP 1.1 answer is givenAndreas Gohr2013-10-20
|
* HTTPClient don't pull too much bytes when no content-length is givenAndreas Gohr2013-08-02
|
* use http_build_query() in HTTPClientAndreas Gohr2013-08-01
| | | | this ensures nested POST data is correctly encoded
* HTTPClient: Implement handling of two-dimensional data arraysMichael Hamann2013-08-01
|
* don't send empty cookie headerAndreas Gohr2013-03-24
|
* stream select parameters need to be reset for each callAndreas Gohr2013-03-24
|
* HTTPclient: print number of received bytes on errorAndreas Gohr2013-02-16
|
* HTTPClient: updated function commentsAndreas Gohr2013-02-16
|
* HTTPClient: fixed max_bodysize when using keep-aliveAndreas Gohr2013-02-16
|
* better HTTPClient debug output on CLIAndreas Gohr2013-02-16
|
* Merge branch 'master' into proxyconnectAndreas Gohr2012-11-08
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (169 commits) added PCRE UTF-8 checks to do=check FS#2636 avoid multiple paralell update checks fix regression bug in HTTPClient FS#2621 changed PAGEUTILS_ID_HIDEPAGE to has BEFORE/AFTER TarLib code cleanup TarLib: fixed appending in non-dynamic mode fixed third method of adding files in TarLib fix lone zero block in TarLib created archives fix use of constructor in TarLib Slovak language update Korean language update Latvian language update added event PAGEUTILS_ID_HIDEPAGE added test for isHiddenPage() removed redundant variables in tpl_include_page() (because of 3ff8773b) added cut off points for mobile devices as parameters to style.ini Corrected typo: ruke -> rule Persian language update Spanish language update russian language update ...
| * fix regression bug in HTTPClient FS#2621Andreas Gohr2012-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | support CONNECT for tunneling SSL via HTTP proxies FS#2431Andreas Gohr2012-07-28
|/ | | | The included test cases currently expect a squid at localhost:3128
* Avoid timeout when content-length is 0Tom N Harris2012-06-27
|
* Limit size of reads when max_bodysize is set or content-length is presentTom N Harris2012-06-27
|
* Skip over chunk extensions that nobody uses because RFC2616 says soTom N Harris2012-06-20
|
* HTTPClient will read up to max_bodysize if it canTom N Harris2012-06-20
|
* Validate the size of a chunk before reading from the socketTom N Harris2012-06-20
|
* Efficiently wait on socketsTom N Harris2012-06-20
|
* HTTP headers are already parsed, there is no need for regexpTom N Harris2012-06-19
|
* Utility function for writing to a socketTom N Harris2012-06-19
|
* Utility functions for reading from a socket.Tom N Harris2012-06-18
| | | | | | | Reading from a socket is handled by functions that encapsulate the error handling and timeout conditions. _readData reads blocks of data. _readLine reads a single line.
* Raise an exception on socket errors.Tom N Harris2012-06-18
| | | | | This is the first step in refactoring the socket reader to be more resilient and easier to debug.
* Correct handling of chunked transfer encoding. (FS#2535)Tom N Harris2012-06-18
|
* Avoid strict warnings about unset array keys.Tom N Harris2012-06-18
|
* Reference static variable through 'self::' as you're supposed to.Tom N Harris2012-06-18
|
* Fixed call to new constructor nameTim Roes2012-03-18
|
* coding style updatesAndreas Gohr2012-03-16
|
* simpler/more robust header parsing in HTTPClientAndreas Gohr2012-02-22
| | | | The previous regexp approach failed for empty headers.
* suppress errors on stream_select FS#2276Andreas Gohr2011-11-27
| | | | | On certain environments, stream_select might produce temporary errors when file descriptors are running scarce.
* avoid 100% cpu usage when reading HTTP headers FS#2304Andreas Gohr2011-08-21
|
* better stream writing in HTTPClient FS#2036Andreas Gohr2011-02-06
| | | | | | | | | | | 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.
* Merge branch 'master' of github.com:splitbrain/dokuwikiAdrian Lang2011-01-14
|\
| * fixed bracketsAndreas Gohr2011-01-12
| |
| * removed setter/getter to match coding styleAndreas Gohr2011-01-12
| | | | | | | | | | since we don't use setter/getters for the other options it doesn't make sense to have them for the keep-alive function