Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
koakuma-chan
19 days ago
|
parent
|
context
|
favorite
| on:
Static Web Hosting on the Intel N150
There is nothing that prevents you from using sendfile and HTTP/2 at the same time. You still dump the contents directly into the socket.
YorickPeterse
19 days ago
[–]
Yes there is: HTTP/2's and HTTP/3's framing of messages is such that you can't reliably dump a file as-is onto an HTTP/2 connection, as it may exceed the maximum size allowed by a frame.
koakuma-chan
19 days ago
|
parent
[–]
You can dump only the necessary part of the file. It does not have to be the whole file at once.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: