Skip to content

Commit c2c5c5f

Browse files
committed
Review comments
1 parent ad261ff commit c2c5c5f

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

draft-pauly-masque-quic-proxy.md

+8-11
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ If the proxy supports QUIC-aware proxying, it will include the
312312
"Proxy-QUIC-Forwarding" header in successful HTTP responses. The value
313313
indicates whether or not the proxy supports forwarding. If the client does
314314
not receive this header in responses, the client SHALL assume that the proxy
315-
does not understand how to parse Connection ID capsules, and SHOULD NOT send any
315+
does not understand how to parse Connection ID capsules, and MUST NOT send any
316316
Connection ID capsules.
317317

318318
The client sends a REGISTER_CLIENT_CID capsule whenever it advertises a new
@@ -362,10 +362,8 @@ ACK_CLIENT_CID capsule is received that contains the echoed connection ID.
362362

363363
## Sending With Forwarded Mode
364364

365-
Sending with forwarded mode is only possible if the proxy sent the
366-
"Proxy-QUIC-Forwarding" header with a value of "?1" in its response to the
367-
client. If the client has received this, it uses REGISTER_TARGET_CID capsules
368-
to request the ability to forward packets to the target through the proxy.
365+
Support for forwarding mode is determined by the "Proxy-QUIC-Forwarding" header,
366+
see {{response}}.
369367

370368
Once the client has learned the target server's Connection ID, such as in the
371369
response to a QUIC Initial packet, it can send a REGISTER_TARGET_CID capsule
@@ -400,9 +398,9 @@ it has a valid mapping.
400398
Once a client has sent "Proxy-QUIC-Forwarding" with a value of "?1", it MUST be
401399
prepared to receive forwarded short header packets on the socket between itself
402400
and the proxy for any Client Connection ID that it has registered with a
403-
REGISTER_CLIENT_CID capsule. The client uses the received Connection ID to
404-
determine if a packet was originated by the proxy, or merely forwarded from the
405-
target.
401+
REGISTER_CLIENT_CID capsule. The client uses the Destination Connection ID field
402+
of the received packet to determine if the packet was originated by the proxy,
403+
or merely forwarded from the target.
406404

407405
# Proxy Response Behavior {#response}
408406

@@ -453,9 +451,8 @@ target-facing socket that match the Client Connection ID can to be sent to the
453451
client. The proxy MUST use tunnelled mode (HTTP Datagram frames) for any long
454452
header packets. The proxy SHOULD forward directly to the client for any matching
455453
short header packets if forwarding is supported by the client, but the proxy MAY
456-
tunnel these packets in HTTP Datagram frames instead. If the pair is not unique,
457-
or the proxy chooses not to support zero-length Client Connection IDs, the proxy
458-
responds with a CLOSE_CLIENT_CID capsule.
454+
tunnel these packets in HTTP Datagram frames instead. If the mapping would
455+
create a conflict, the proxy responds with a CLOSE_CLIENT_CID capsule.
459456

460457
When the proxy recieves a REGISTER_TARGET_CID capsule, it is receiving a
461458
request to allow the client to forward packets to the target. If the pair of

0 commit comments

Comments
 (0)