Re: h2 padding

--------
In message <5406FB19.2020800@treenet.co.nz>, Amos Jeffries writes:

>>> Consider an implementation that sends every frame in its own TCP 
>>> packet, perhaps with a 1 minute delay between frames. [...]
>
>HTTP/2 over DTLS.

Yes ?

Last I looked DTLS didnt use TCP but UDP ?

Disregarding that:  How does the HTTP/2 layer know that the TLS
layer will in fact put everything in the frame into a single packet ?

The only way you can pad in HTTP/2 in that situation is so that all
frames have the exact same size.

The TLS layer should do that, if that is desired.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

Received on Wednesday, 3 September 2014 11:38:30 UTC