-
- Downloads
Add options to control dormant-client feature.
The DormantClientTimeout option controls how long Tor will wait before going dormant. It also provides a way to disable the feature by setting DormantClientTimeout to e.g. "50 years". The DormantTimeoutDisabledByIdleStreams option controls whether open but inactive streams count as "client activity". To implement it, I had to make it so that reading or writing on a client stream *always* counts as activity. Closes ticket 28429.
Showing
- doc/tor.1.txt 13 additions, 0 deletionsdoc/tor.1.txt
- src/app/config/config.c 6 additions, 0 deletionssrc/app/config/config.c
- src/app/config/or_options_st.h 10 additions, 0 deletionssrc/app/config/or_options_st.h
- src/core/mainloop/mainloop.c 10 additions, 9 deletionssrc/core/mainloop/mainloop.c
- src/core/or/connection_edge.c 11 additions, 0 deletionssrc/core/or/connection_edge.c
- src/test/test_options.c 1 addition, 0 deletionssrc/test/test_options.c
Loading
Please register or sign in to comment