This project is read-only.

ForwardedPortLocal

Apr 18, 2012 at 9:16 PM

Hi!

When using "RemoveForwardedPort(ForwardedPort fp)" it removes the listener for a port BUT it doesnt close the connections that are already open. Is this how it is designed or is it a bug?

Personally i would like the port to close when i remove the forward.

 

A small explanation of whats happening:

Connect and Auth to Server

Forward port to Server

navigate to a website (http://localhost:8080)

Remove forward

I can still navigate the webside

Close program

Cant navigate the website

Coordinator
Apr 18, 2012 at 9:25 PM

Hi,

 

The design I had in mind is that the connection will be open and you can add or remove ports as you go, so if after you removed the port and it still forwarding, it sounds like a bug.

 

Please log this issue so I could get back to it as soon as I have some time.

 

Thanks,

Oleg

Apr 18, 2012 at 9:34 PM

It seems it doesnt kill current threads, just prevents creating new ones.

I will post a bug.