summaryrefslogtreecommitdiff
path: root/inc/HTTPClient.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-10-21 18:54:34 +0100
committerChristopher Smith <chris@jalakai.co.uk>2013-10-21 18:54:34 +0100
commitfa457f5d82989812f1961cb9643c0b55824ba0b3 (patch)
treeea4e6325a9a9d760f6603758449a70ac50cc052d /inc/HTTPClient.php
parent4b94edc8e8badb6bcdc25b41f73310a8e323ba92 (diff)
parent7951a37379700f564a20c882a920086b49c473c8 (diff)
downloadrpg-fa457f5d82989812f1961cb9643c0b55824ba0b3.tar.gz
rpg-fa457f5d82989812f1961cb9643c0b55824ba0b3.tar.bz2
Merge branch 'master' into FS#2867
Diffstat (limited to 'inc/HTTPClient.php')
-rw-r--r--inc/HTTPClient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index b2621bdbb..96954fb47 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -553,7 +553,7 @@ class HTTPClient {
}while($r_line != "\r\n" && $r_line != "\n");
$this->_debug('SSL Tunnel Response',$r_headers);
- if(preg_match('/^HTTP\/1\.0 200/i',$r_headers)){
+ if(preg_match('/^HTTP\/1\.[01] 200/i',$r_headers)){
if (stream_socket_enable_crypto($socket, true, STREAM_CRYPTO_METHOD_SSLv3_CLIENT)) {
$requesturl = $requestinfo['path'];
return true;