Advertisement
Guest User

tcpconnector.py

a guest
Dec 28th, 2018
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.62 KB | None | 0 0
  1. $ python3 tcpconnector.py
  2. Connector arguments:
  3. _limit: 25
  4. _limit_per_host: 5
  5. ----------------------------------------------------------------------
  6.  
  7. Connection attributes for r1
  8. _conns: {}
  9.  
  10. _acquired: {<aiohttp.client_proto.ResponseHandler object at 0x104285fa8>}
  11.  
  12. _acquired_per_host: defaultdict(<class 'set'>, {ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): {<aiohttp.client_proto.ResponseHandler object at 0x104285fa8>}})
  13.  
  14. _available_connections:
  15.      ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608) 4
  16. ----------------------------------------------------------------------
  17.  
  18. Connection attributes for r2
  19. _conns: {ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): [(<aiohttp.client_proto.ResponseHandler object at 0x104285fa8>, 0.989833314)]}
  20.  
  21. _acquired: {<aiohttp.client_proto.ResponseHandler object at 0x1042c8288>}
  22.  
  23. _acquired_per_host: defaultdict(<class 'set'>, {ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): {<aiohttp.client_proto.ResponseHandler object at 0x1042c8288>}})
  24.  
  25. _available_connections:
  26.      ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608) 4
  27. ----------------------------------------------------------------------
  28.  
  29. Connection attributes for r3
  30. _conns: {ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): [(<aiohttp.client_proto.ResponseHandler object at 0x104285fa8>, 0.989833314), (<aiohttp.client_proto.ResponseHandler object at 0x1042c8288>, 1.115291804)]}
  31.  
  32. _acquired: {<aiohttp.client_proto.ResponseHandler object at 0x1042c85e8>}
  33.  
  34. _acquired_per_host: defaultdict(<class 'set'>, {ConnectionKey(host='github.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): {<aiohttp.client_proto.ResponseHandler object at 0x1042c85e8>}})
  35.  
  36. _available_connections:
  37.      ConnectionKey(host='github.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608) 4
  38. ----------------------------------------------------------------------
  39.  
  40. Connection attributes for r4
  41. _conns: {ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): [(<aiohttp.client_proto.ResponseHandler object at 0x104285fa8>, 0.989833314), (<aiohttp.client_proto.ResponseHandler object at 0x1042c8288>, 1.115291804)]}
  42.  
  43. _acquired: {<aiohttp.client_proto.ResponseHandler object at 0x1042c89a8>, <aiohttp.client_proto.ResponseHandler object at 0x1042c85e8>}
  44.  
  45. _acquired_per_host: defaultdict(<class 'set'>, {ConnectionKey(host='github.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): {<aiohttp.client_proto.ResponseHandler object at 0x1042c89a8>, <aiohttp.client_proto.ResponseHandler object at 0x1042c85e8>}})
  46.  
  47. _available_connections:
  48.      ConnectionKey(host='github.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608) 3
  49. ----------------------------------------------------------------------
  50.  
  51. Connection attributes for r5
  52. _conns: {ConnectionKey(host='docs.aiohttp.org', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): [(<aiohttp.client_proto.ResponseHandler object at 0x104285fa8>, 0.989833314), (<aiohttp.client_proto.ResponseHandler object at 0x1042c8288>, 1.115291804)]}
  53.  
  54. _acquired: {<aiohttp.client_proto.ResponseHandler object at 0x1042c89a8>, <aiohttp.client_proto.ResponseHandler object at 0x1042c8d68>, <aiohttp.client_proto.ResponseHandler object at 0x1042c85e8>}
  55.  
  56. _acquired_per_host: defaultdict(<class 'set'>, {ConnectionKey(host='github.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608): {<aiohttp.client_proto.ResponseHandler object at 0x1042c89a8>, <aiohttp.client_proto.ResponseHandler object at 0x1042c8d68>, <aiohttp.client_proto.ResponseHandler object at 0x1042c85e8>}})
  57.  
  58. _available_connections:
  59.      ConnectionKey(host='github.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-3950124959374355608) 2
  60. ----------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement