python-hyper / draft-http2-debug-state

Source information for the HTTP/2 debug state internet draft.
6 stars 4 forks source link

remote vs local #10

Open tatsuhiro-t opened 8 years ago

tatsuhiro-t commented 8 years ago

While I was reading draft, I was a bit confused by the usage of "remote" peer and "local" one. It looks like "remote" means server side which generates debug state JSON document.

That means that draft seems to be written from client point of view. But some keys, such as connFlowOut, is the number of bytes that server can send to the client, which indicates opposite.

It would be nice to add some text to explain these terms. Or say "server" and "client" explicitly (which may remove the future extension of exposing client debug state, but it could be a separate discussion)

Lukasa commented 8 years ago

Agreed, this should be changed.