• Kirill Smelkov's avatar
    Don't allow Net::HTTP to hang forever · deaa6b97
    Kirill Smelkov authored
    Net::HTTP has default infinite timeout for opening connection, which,
    when other side does not open connection fully, nor rejects connecting,
    results in infinite thread hang without any reporting into log.
    
    Fix it by explicitly making all timeouts finite (set to default
    Net::HTTP's read_timeout 60 seconds).
    
    /cc @klaus
    deaa6b97
Name
Last commit
Last update
example Loading commit data...
lib/fluent/plugin Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
Gemfile Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
fluent-plugin-wendelin.gemspec Loading commit data...