fqrious / utls_xxnet

uTLS wrapper for XX-NET
0 stars 0 forks source link

Why the wrap is not "wrap" but recreate a new connection? #6

Open xxnet opened 1 year ago

xxnet commented 1 year ago

https://github.com/fqrious/utls_xxnet/blob/839823e2c081f6e992cbf398a9db7a9d6171961a/python/pyutls_wrap.py#L154

handle, fd = new_ssl_connection(self._context.handle, self.ip_str, self.sni)

Why the wrap is not "wrap" but recreate a new connection? I can not connect if I need to connect through a proxy.

Reference: https://github.com/XX-net/XX-Net/wiki/Set-LAN-proxy

fqrious commented 1 year ago

tbh, I just missed it... I was going to change it when the project is working

because how golang handles sockets internaly is very different from how python does...

xxnet commented 1 year ago

Thank you for your reply. You don't to change it until I start a new task for you.

fqrious commented 1 year ago

You don't to change it until I start a new task for you.

I don't understand...

also, sorry for replying late

fqrious commented 11 months ago

do you want me to fix it? @xxnet

xxnet commented 11 months ago

Not now, will let you know if I need it. Thank you.