Commit f6524dd
committed
ae.net.http.websocket: Accept comma-separated Connection header tokens
Allow WebSocket accept() to handle HTTP Connection headers with
comma-separated tokens, per HTTP/1.1 semantics, instead of requiring the
header value to be exactly "Upgrade". The check now splits on commas,
strips whitespace, and matches any token case-insensitively.1 parent ceb661a commit f6524dd
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| 470 | + | |
| 471 | + | |
470 | 472 | | |
471 | 473 | | |
| 474 | + | |
472 | 475 | | |
473 | 476 | | |
474 | 477 | | |
| |||
484 | 487 | | |
485 | 488 | | |
486 | 489 | | |
487 | | - | |
| 490 | + | |
488 | 491 | | |
489 | 492 | | |
490 | 493 | | |
| |||
0 commit comments