Skip to content

Commit

Permalink
[connection] don't set ODCID for draft-27 without retry
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaine committed Jun 15, 2020
1 parent 9675ba6 commit f9ac036
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/aioquic/quic/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2181,7 +2181,10 @@ def _serialize_transport_parameters(self) -> bytes:
if self._configuration.quantum_readiness_test
else None,
)
if not self._is_client:
if not self._is_client and (
self._version >= QuicProtocolVersion.DRAFT_28
or self._retry_source_connection_id
):
quic_transport_parameters.original_destination_connection_id = (
self._original_destination_connection_id
)
Expand Down

0 comments on commit f9ac036

Please sign in to comment.