Change #228498
Category | curl |
Changed by | Stefan Eissing <stefan | @eissing.org>
Changed at | Mon 28 Apr 2025 09:15:05 |
Repository | https://github.com/curl/curl.git |
Project | curl |
Branch | master |
Revision | daa0601614b6cfd44a3437a2e5b0c6ca868745f2 |
Comments
ws: store protocol context as connection meta data Eliminates union member on struct connectdata. Sample of how other procotols can handle their connection related data. This avoids potention mix-ups of the `proto` union of a connection with other protocol instances. Removed ws "disconnect" callback as meta data is automatically destroyed when a connection is destroyed. Closes #17146
Changed files
- lib/urldata.h
- lib/ws.c
- lib/ws.h