HTTPFactory seems to think that `reactor.seconds` is reliably an epoch time (see https://github.com/twisted/twisted/blob/trunk/src/twisted/web/http.py#L3110, etc).

On the other hand. AsyncioSelectorReactor.seconds() returns a monotonic time:

python3 -c 'from twisted.internet import asyncioreactor; print(asyncioreactor.AsyncioSelectorReactor().seconds())'
41116.763594412

One of these is wrong... I think it's HTTPFactory making bad assumptions, but can anyone confirm the intention here?

R


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to