4 stable releases
2.1.0 | May 9, 2021 |
---|---|
2.0.0 | Apr 18, 2021 |
1.2.1 | Mar 21, 2021 |
#1019 in HTTP server
620KB
2.5K
SLoC
PTTH Server
The PTTH server is an HTTP server that can serve files from behind a firewall, because it only makes outgoing HTTP connections to a PTTH relay.
View from outside the PTTH tunnel:
* HTTP client
|
| HTTP(S) requests
V
* ptth_relay
^
| HTTP(S) requests
|
* ptth_server
View from inside the PTTH tunnel:
* HTTP client
|
| HTTP(S) requests
V
* ptth_relay
|
| HTTP(S) requests
V
* ptth_server
lib.rs
:
PTTH Server
The PTTH server is an HTTP server that can serve files from behind a firewall, because it only makes outgoing HTTP connections to a PTTH relay.
View from outside the PTTH tunnel:
* HTTP client
|
| HTTP(S) requests
V
* ptth_relay
^
| HTTP(S) requests
|
* ptth_server
View from inside the PTTH tunnel:
* HTTP client
|
| HTTP(S) requests
V
* ptth_relay
|
| HTTP(S) requests
V
* ptth_server
Dependencies
~26–42MB
~696K SLoC