Skip to content

Commit

Permalink
Merge pull request #1647 from private-octopus/abandon-in-multipath
Browse files Browse the repository at this point in the history
Allow path management if unique ID
  • Loading branch information
huitema authored Mar 1, 2024
2 parents 8db276e + 0914089 commit 1bfb71c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picoquic/frames.c
Original file line number Diff line number Diff line change
Expand Up @@ -5332,7 +5332,7 @@ const uint8_t* picoquic_decode_path_abandon_frame(const uint8_t* bytes, const ui

/* This code assumes that the frame type is already skipped */

if (!cnx->is_multipath_enabled && !cnx->is_simple_multipath_enabled) {
if (!cnx->is_multipath_enabled && !cnx->is_simple_multipath_enabled && !cnx->is_unique_path_id_enabled) {
/* Frame is unexpected */
picoquic_connection_error_ex(cnx, PICOQUIC_TRANSPORT_FRAME_FORMAT_ERROR,
picoquic_frame_type_path_abandon, "multipath not negotiated");
Expand Down Expand Up @@ -5443,7 +5443,7 @@ const uint8_t* picoquic_decode_path_available_or_standby_frame(const uint8_t* by

/* This code assumes that the frame type is already skipped */

if (!cnx->is_multipath_enabled && !cnx->is_simple_multipath_enabled) {
if (!cnx->is_multipath_enabled && !cnx->is_simple_multipath_enabled && !cnx->is_unique_path_id_enabled) {
/* Frame is unexpected */
picoquic_connection_error_ex(cnx, PICOQUIC_TRANSPORT_FRAME_FORMAT_ERROR,
frame_id64, "multipath not negotiated");
Expand Down

0 comments on commit 1bfb71c

Please sign in to comment.