Compare commits
3 Commits
v0.0.2-dev
...
v0.0.2-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 3a0fc7f1e2 | |
Derrick Hammer | 3e646eb473 | |
Derrick Hammer | 608aace286 |
|
@ -1,3 +1,10 @@
|
|||
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/libhyperproxy/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-08-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* pass remoteAddress and remotePort as part of socket options ([608aace](https://git.lumeweb.com/LumeWeb/libhyperproxy/commit/608aace286bc62b327954d369023412c40e8e83d))
|
||||
|
||||
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/libhyperproxy/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-08-02)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libhyperproxy",
|
||||
"version": "0.0.2-develop.3",
|
||||
"version": "0.0.2-develop.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libhyperproxy",
|
||||
"version": "0.0.2-develop.3",
|
||||
"version": "0.0.2-develop.4",
|
||||
"dependencies": {
|
||||
"binconv": "^0.2.0",
|
||||
"compact-encoding": "^2.12.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libhyperproxy",
|
||||
"version": "0.0.2-develop.3",
|
||||
"version": "0.0.2-develop.4",
|
||||
"main": "lib/index.js",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
|
|
|
@ -190,7 +190,10 @@ export default class MultiSocketProxy extends Proxy {
|
|||
|
||||
const peer = this._nextPeer();
|
||||
const socketId = nextSocketId();
|
||||
const socket = new this.socketClass(socketId, this, peer, options);
|
||||
const socket = new this.socketClass(socketId, this, peer, options, {
|
||||
remoteAddress: options.host,
|
||||
remotePort: options.port,
|
||||
});
|
||||
this._sockets.set(socketId, socket);
|
||||
|
||||
return socket;
|
||||
|
|
Loading…
Reference in New Issue