Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make http (curl) timeouts configurable #105

Open
pyroscope opened this issue Jun 27, 2018 · 0 comments
Open

Make http (curl) timeouts configurable #105

pyroscope opened this issue Jun 27, 2018 · 0 comments
Milestone

Comments

@pyroscope
Copy link
Owner

  • Numerous timeout values compiled into the code
  • Ranging from 1 min to 5 min
egrep --color=yes -RInH 'CURL.*TIME|set_timeout|m_timeout' libtorrent-0.13.6/src src/ \
| egrep -v 'sync.timeout|chunk_manager|dht_trans'

Tasks

  • Add values for network.http.connect_timeout and network.http.transfer_timeout (cf. network.http.dns_cache_timeout)
  • Add config that sets short values on startup, then schedules in longer ones after 2 mins or so
@pyroscope pyroscope added this to the PS 1.2 milestone Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant