Skip to content

Conversation

@icing
Copy link
Contributor

@icing icing commented Aug 8, 2025

Improvements around HTTP Upgrade: and multiplex hanndling:

  • add Curl_conn_set_multiplex() to set connection's multiplex bit and trigger "connchanged" events
  • call Curl_conn_set_multiplex() in filters' CF_CTRL_CONN_INFO_UPDATE implementation where other connection properties are updated. This prevents connection updates before the final filter chain is chosen.
  • rename enum UPGR101_INIT to UPGR101_NONE
  • rename connection bit asks_multiplex to upgrade_in_progress
  • trigger "connchanged" when upgrade_in_progress clears
  • rename WebSockets to WebSocket as it is the common term used in documentation

@calvin2021y
Copy link

ping @bagder

@icing icing force-pushed the upgrade-multiplex-improvements branch from db4d4eb to 4ad9cb7 Compare August 21, 2025 07:07
@calvin2021y
Copy link

ping @icing

@icing
Copy link
Contributor Author

icing commented Sep 3, 2025

Yeah, this one got lost a bit. But since we just did rc3, I think we hold it for after the release.

Improvements around HTTP Upgrade: and multiplex hanndling:

* add `Curl_conn_set_multiplex()` to set connection's multiplex
  bit and trigger "connchanged" events
* call `Curl_conn_set_multiplex()` in filters' `CF_CTRL_CONN_INFO_UPDATE`
  implementation where other connection properties are updated.
  This prevents connection updates before the final filter chain
  is chosen.
* rename enum `UPGR101_INIT` to `UPGR101_NONE`
* rename connection bit `asks_multiplex` to `upgrade_in_progress`
* trigger "connchanged" when `upgrade_in_progress` clears
* rename `WebSockets` to `WebSocket` as it is the common term
  used in documentation
@icing icing force-pushed the upgrade-multiplex-improvements branch from 4ad9cb7 to 421dcaf Compare September 24, 2025 08:00
@icing icing requested a review from bagder September 24, 2025 09:22
@bagder bagder closed this in b3fc692 Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants