Skip to content

Commit

Permalink
make sure crypto header goes first
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby committed Mar 22, 2024
1 parent 4063a3e commit d336721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ static int send_crypto_header(ziti_connection conn) {
wr->conn = conn;
wr->message = m;

TAILQ_INSERT_TAIL(&conn->wreqs, wr, _next);
TAILQ_INSERT_HEAD(&conn->wreqs, wr, _next);
flush_connection(conn);
}
return ZITI_OK;
Expand Down

0 comments on commit d336721

Please sign in to comment.