Skip to content

Commit be38bdc

Browse files
committed
Merge branch 'import'. Closes #1
2 parents a02e0fd + 4a564e4 commit be38bdc

15 files changed

Lines changed: 534 additions & 107 deletions

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
/vendor
2-
/composer.lock
3-
/composer.phar
4-
/build

CHANGELOG.md

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,15 @@ This file is a manually maintained list of changes for each release. Feel free
44
to add your changes here when sending pull requests. Also send corrections if
55
you spot any mistakes.
66

7-
## 0.4.0 (2013-05-24)
7+
## 1.0.0 (2014-05-xx)
88

9-
* BC break: Update react to current v0.3 and thus also replace `ConnectionManager` with `Connector`
10-
* BC break: New `Client::createConnector()` replaces inheriting `ConnectionManagerInterface`
11-
* BC break: New `Client::createSecureConnector()` replaces `Client::createSecureConnectionManager()`
9+
* First stable release
10+
* Async SOCKS `Client` and `Server` implementation
11+
* Project was originally part of [clue/socks](https://github.com/clue/php-socks)
12+
and was split off from its latest releave v0.4.0
13+
([#1](https://github.com/clue/reactphp-socks/issues/1))
1214

13-
## 0.3.1 (2012-12-29)
14-
15-
* Fix: Server event logging
16-
* Fix: Closing invalid connections
17-
18-
## 0.3.0 (2012-12-23)
19-
20-
* Feature: Add async `Server` implementation
21-
22-
## 0.2.0 (2012-12-03)
23-
24-
* BC break: Whole new API, now using async patterns based on react/react
25-
* BC break: Re-organize into `Socks` namespace
26-
* Feature: Whole new async API: `PromiseInterface Client::getConnection(string $hostname, int $port)`
27-
* Feature: SOCKS5 username/password authentication: `Client::setAuth(string $username, string $password)`
28-
* Feature: SOCKS4a/SOCKS5 support local *and* remote resolving: `Client::setResolveLocal(boolean $resolveLocal)`
29-
* Feature: SOCKS protocol can now be switched during runtime: `Client::setProtocolVersion(string $version)`
30-
* Feature: Simple interface for HTTP over SOCKS: `HttpClient Client::createHttpClient()`
31-
* Feature: Simple interface for SSL/TLS over SOCKS: `Client` now implements `ConnectionManagerInterface`
32-
* Feature: Simple interface for TCP over SOCKS: `SecureConnectionManager Client::createSecureConnectionManager()`
33-
34-
## 0.1.0 (2011-05-16)
35-
36-
* First tagged release
37-
* Simple, blocking API: `resource Socks::connect(string $hostname, int $port)`
38-
* Support for SOCKS4, SOCKS4a, SOCKS5 and hostname, IPv4 and IPv6 addressing
15+
## 0.0.0 (2011-04-26)
3916

17+
* Initial concept, originally tracked as part of
18+
[clue/socks](https://github.com/clue/php-socks)
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
The MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2011 Christian Lück, <https://github.com/clue/Socks>
3+
Copyright (c) 2011 Christian Lück
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights
88
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
9+
copies of the Software, and to permit persons to whom the Software is furnished
10+
to do so, subject to the following conditions:
1111

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
21+
THE SOFTWARE.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# clue/socks - SOCKS client and server [![Build Status](https://travis-ci.org/clue/socks.png?branch=master)](https://travis-ci.org/clue/socks)
1+
# clue/socks-react - SOCKS client and server [![Build Status](https://travis-ci.org/clue/reactphp-socks.png?branch=master)](https://travis-ci.org/clue/socks)
22

33
Async SOCKS client library to connect to SOCKS4, SOCKS4a and SOCKS5 proxy servers,
44
as well as a SOCKS server implementation, capable of handling multiple concurrent
@@ -253,11 +253,11 @@ The recommended way to install this library is [through composer](http://getcomp
253253
```JSON
254254
{
255255
"require": {
256-
"clue/Socks": "0.4.*"
256+
"clue/socks-react": "1.*"
257257
}
258258
}
259259
```
260260

261261
## License
262262

263-
MIT, see license.txt
263+
MIT, see LICENSE

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
{
2-
"name": "clue/socks",
3-
"type": "library",
2+
"name": "clue/socks-react",
43
"description": "Async SOCKS proxy client and server (SOCKS4, SOCKS4a and SOCKS5)",
54
"keywords": ["socks client", "socks server", "tcp tunnel", "socks protocol", "async", "react"],
6-
"homepage": "http://github.com/clue/socks",
5+
"homepage": "https://github.com/clue/reactphp-socks",
76
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "Christian Lück",
10+
"email": "christian@lueck.tv"
11+
}
12+
],
813
"autoload": {
9-
"psr-0": {"Socks": ""}
14+
"psr-4": {"Clue\\React\\Socks\\": "src"}
1015
},
1116
"require": {
1217
"react/http-client": "0.3.*",

0 commit comments

Comments
 (0)