diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-23 01:20:04 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-23 01:20:04 +0200 |
| commit | 4f9cb7f330beab9fb09f52421b2dbd15835476e2 (patch) | |
| tree | 328517eb3aeea310d0328c08953f57ae663e8d75 /src/monitor.cc | |
| parent | c278eac390bd37c5ca8b319ed15605211822c08f (diff) | |
Add proxy to GUI
Access via "Setup..." in main menu
Uses a socketpair to connect monitor so only proxy port is open
Diffstat (limited to 'src/monitor.cc')
| -rw-r--r-- | src/monitor.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monitor.cc b/src/monitor.cc index fdf226c..9b57141 100644 --- a/src/monitor.cc +++ b/src/monitor.cc @@ -39,6 +39,12 @@ public: } } + void connect(int fd) override { + do_disconnect(); + new_state(CONNECTING); + resolved(fd, true, nullptr); + } + void disconnect() override { do_disconnect(); new_state(DISCONNECTED); |
