| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
It should be possible to at least write a test like in the bug report, declaring and using a zeroed Transport?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
It should be possible to at least write a test like in the bug report, declaring and using a zeroed Transport?
A zeroed Transport is actually impossible to test hermetically, since it'll only use TLS and will validate server certificates.
I can write a test that exercises the bug with a modified Transport that either uses TCP or doesn't validate the server certificate. This should probably be several tests, exercising other functions than just NewClientConn. And then I've got to figure out where to draw the line between these tests and the existing, fairly comprehensive, test suite.
I'll see if I can find something reasonable to add in a followup, submitting this since I don't want to block fixing the actual bug on finding perfection in testing.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
http2: initialize Transport on NewClientConn
Add a missing init call in the NewClientConn path.
Missing init calls are hard to write a test for, since the
Transport test infrastructure causes the Transport to be
initialized before the test begins. So instead, make it harder
to forget the call: init now returns the net/http *Transport,
so code which uses it needs to call init to get it.
Fixes golang/go#80198
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |