Ticket #6104: get-page-cancel-2.diff

File get-page-cancel-2.diff, 553 bytes (added by luks, 3 years ago)
  • twisted/web/client.py

     
    614614        factory.noPage(defer.CancelledError())
    615615        connector.disconnect()
    616616    scheme, host, port, path = _parse(url)
    617     factory = factoryFactory(url, *args, **kwargs)
     617    factory = factoryFactory(url, canceller=cancel, *args, **kwargs)
    618618    if scheme == b'https':
    619619        from twisted.internet import ssl
    620620        if contextFactory is None: