@@ -312,7 +312,7 @@ If the proxy supports QUIC-aware proxying, it will include the
312
312
" Proxy-QUIC-Forwarding" header in successful HTTP responses. The value
313
313
indicates whether or not the proxy supports forwarding. If the client does
314
314
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
316
316
Connection ID capsules.
317
317
318
318
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.
362
362
363
363
# # Sending With Forwarded Mode
364
364
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}}.
369
367
370
368
Once the client has learned the target server's Connection ID, such as in the
371
369
response to a QUIC Initial packet, it can send a REGISTER_TARGET_CID capsule
@@ -400,9 +398,9 @@ it has a valid mapping.
400
398
Once a client has sent "Proxy-QUIC-Forwarding" with a value of "?1", it MUST be
401
399
prepared to receive forwarded short header packets on the socket between itself
402
400
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.
406
404
407
405
# Proxy Response Behavior {#response}
408
406
@@ -453,9 +451,8 @@ target-facing socket that match the Client Connection ID can to be sent to the
453
451
client. The proxy MUST use tunnelled mode (HTTP Datagram frames) for any long
454
452
header packets. The proxy SHOULD forward directly to the client for any matching
455
453
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.
459
456
460
457
When the proxy recieves a REGISTER_TARGET_CID capsule, it is receiving a
461
458
request to allow the client to forward packets to the target. If the pair of
0 commit comments