
Good catch Paweł. I have opened this issue as Twisted issue #8558: https://twistedmatrix.com/trac/ticket/8558 https://twistedmatrix.com/trac/ticket/8558. I believe I know what the fix is and it’s fairly simple, so I’ll try to address this quickly and see if we can ship the fix in either the next pre-release or in the actual 16.3 release.
Cory
On 3 Jul 2016, at 13:47, Paweł Miech <pawelmhm@gmail.com mailto:pawelmhm@gmail.com> wrote:
AFAIK this is a known issue :
Ah thanks, that's ok.
One other thing I noticed a propos HTTP 2 is that it seems that reading relatively large file results in error: "priority.priority.MissingStreamError: 'Stream 1 not in tree'". I created simple gist to recreate this issue see here: https://gist.github.com/pawelmhm/3aa7e4f3a0e322364dcb75e3f0a32da4 https://gist.github.com/pawelmhm/3aa7e4f3a0e322364dcb75e3f0a32da4 Resource is launched with Python 3.4, to test it on the client I used curl with http2 support. Data file https://drive.google.com/file/d/0B6myg3n6dqcVcXpPdkJCNUJLOTA/view?pref=2&pli=1 is not huge (570kb) but the error is raised when I send it as a whole, when I only send some smaller chunk (e.g. first 100 items from file) it seems to work ok. It seems that Python-hyper is all right with this file, perhaps curl --http2 does something weird.
2016-07-03 12:50 GMT+02:00 Adi Roiban <adi@roiban.ro mailto:adi@roiban.ro>:
On 3 July 2016 at 11:15, Paweł Miech <pawelmhm@gmail.com mailto:pawelmhm@gmail.com> wrote: HTTP2 support sounds really exciting.
Please let me know if you have any issues, as well as if you don't! If everything works well, that's a good thing for me to know :)
I played around with this today and found out that the command you recommend:
pip install -U https://twistedmatrix.com/Releases/pre/16.3.0pre2/Twisted-16.3.0rc2.tar.bz2#...] https://twistedmatrix.com/Releases/pre/16.3.0pre2/Twisted-16.3.0rc2.tar.bz2#egg=Twisted[http2,tls]
does NOT install dependencies when ran on Python 3, I had to manually install h2 to HTTP2 support to work. It works ok on Python 2. My installation logs on Python 3.4 look like this:
AFAIK this is a known issue :
see https://github.com/twisted/twisted/blob/trunk/docs/installation/howto/option... https://github.com/twisted/twisted/blob/trunk/docs/installation/howto/optional.rst
-- Adi Roiban
Twisted-Python mailing list Twisted-Python@twistedmatrix.com mailto:Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Twisted-Python mailing list Twisted-Python@twistedmatrix.com mailto:Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python