• 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
Last commit
Last update
out_wendelin.rb Loading commit data...
wendelin_client.rb Loading commit data...