Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.
This repository was archived by the owner on Mar 22, 2021. It is now read-only.

ssl.SSLError: ('The read operation timed out',) #16

Open

Description

@intAV

ssl.SSLError: ('The read operation timed out',) 设置超时在哪里设置呢

Activity

  1. Medicean commented on Apr 23, 2019

    @Medicean
    Contributor

    默认超时时间 10 秒, 你可以自己初始化一个 httpconpool 对象,在这里设置最大连接池和超时时间:

    import hackhttp
    myconpool = hackhttp.httpconpool(maxconnectpool=20, timeout=30)
    hh = hackhttp.hackhttp(conpool=myconpool)
    url = "http://www.bugscan.net"
    code, head, html, redirect_url, log = hh.http(url)
  2. intAV commented on Apr 23, 2019

    @intAV
    Author

    谢谢表哥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions