molnarg / node-http2

An HTTP/2 client and server implementation for node.js
MIT License
1.79k stars 187 forks source link

Pushed response very slow #198

Open Pajn opened 8 years ago

Pajn commented 8 years ago

Files pushed are downloaded very slow compared to regularly served files.

Can be reproduced using the server example but changing the main file to an html file that request the pushed file so the browser aren't just ignoring the pushed file.

nwgh commented 7 years ago

This needs a lot more information - how much slower? Are there any pulled streams being served at the same time as a push? If so, does the pushed stream speed up when the pulled stream is finished? Does this happen even with connections on localhost? Can you provide logs from both the client and server, as well as a pcap with the pre-master key log so I can view traffic?