Commit c06a783
Fix websocket upgrade span leak in handleHttpResponse, improve test docs
- WebSocket upgrades in handleHttpResponse now finish the span immediately
instead of deferring to LastHttpContent (which never arrives for websockets)
- Updated test Javadocs to accurately describe what each test validates
- Improved connection-drop test synchronization (read first byte instead of sleep)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 757be22 commit c06a783
1 file changed
Lines changed: 11 additions & 3 deletions
File tree
- dd-java-agent/instrumentation/netty/netty-4.1/src/main/java/datadog/trace/instrumentation/netty41/server
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
| |||
0 commit comments