This repository was archived by the owner on Apr 30, 2025. It is now read-only.
Commit 7c163e5
committed
Update proxy_test for golang 1.20.6
Starting in golang 1.20.6, the creation of requests with invalid
host headers returns an error prior to sending the request on the
wire to a server. To compensate, we now test with a raw TCP connection
instead of our HTTP request/response helpers.1 parent 05f2266 commit 7c163e5
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1598 | 1598 | | |
1599 | 1599 | | |
1600 | 1600 | | |
1601 | | - | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
1602 | 1604 | | |
1603 | | - | |
1604 | | - | |
| 1605 | + | |
1605 | 1606 | | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
1609 | 1614 | | |
1610 | 1615 | | |
1611 | 1616 | | |
| |||
0 commit comments