Permalink
Browse files

Support HTTP and SOCKS protocol unification on single listening port

  • Loading branch information...
clue committed May 30, 2017
1 parent d7cd3b0 commit 82bfc72824dfbf1b97fd5907c93aebec95df41c7
Showing with 1,350 additions and 34 deletions.
  1. +1 −0 .travis.yml
  2. +6 −1 composer.json
  3. +1,119 −2 composer.lock
  4. +16 −18 leproxy.php
  5. +19 −0 phpunit.xml.dist
  6. +1 −1 src/HttpProxyServer.php
  7. +33 −0 src/NullServer.php
  8. +52 −0 src/ProtocolDetector.php
  9. +15 −0 tests/NullServerTest.php
  10. +83 −0 tests/ProtocolDetectorTest.php
  11. +5 −12 tests/acceptance.sh
View
@@ -11,4 +11,5 @@ install:
- composer install
script:
- vendor/bin/phpunit
- ./tests/acceptance.sh
View
@@ -6,9 +6,14 @@
"react/http": "^0.7",
"react/http-client": "^0.5"
},
"require-dev": {
"phpunit/phpunit": "^4.8"
},
"autoload": {
"files": [
"src/HttpProxyServer.php"
"src/HttpProxyServer.php",
"src/ProtocolDetector.php",
"src/NullServer.php"
]
}
}
Oops, something went wrong.

0 comments on commit 82bfc72

Please sign in to comment.