-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from ooni/update-to-go-1.19.4
Update to go 1.19.4 See ooni/probe#2273 Here's the diff with the `dev` branch (aka go1.19.4): https://github.com/ooni/oohttp/compare/2125b6b..82e690c Inline you can see the diff with respect to `main` (aka go1.18.9) We also include scripts to have more confidence in the merging process robustness.
- Loading branch information
Showing
38 changed files
with
888 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/upstreamrepo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,9 @@ type TLSConn interface { | |
// HandshakeContext performs an TLS handshake bounded | ||
// in time by the given context. | ||
HandshakeContext(ctx context.Context) error | ||
|
||
// NetConn returns the underlying net.Conn | ||
NetConn() net.Conn | ||
} | ||
``` | ||
|
||
|
@@ -219,20 +222,8 @@ minor changes (e.g., updating docs) directly on the `main` branch. | |
|
||
(Adapted from refraction-networking/utls instructions.) | ||
|
||
- [ ] run the following commands: | ||
|
||
```bash | ||
set -ex | ||
git checkout main | ||
git remote add golang [email protected]:golang/go.git || git fetch golang | ||
git branch -D golang-upstream golang-http-upstream merged-main || true | ||
git fetch golang | ||
git checkout -b golang-upstream go1.18.9 | ||
git subtree split -P src/net/http/ -b golang-http-upstream | ||
git checkout main | ||
git checkout -b merged-main | ||
git merge golang-http-upstream | ||
``` | ||
- [ ] update [UPSTREAM](UPSTREAM), commit the change, and then | ||
run the `./tools/merge.bash` script to merge from upstream; | ||
|
||
- [ ] make sure you synch [./internal/safefilepath](./internal/safefilepath) with the | ||
`./src/internal/safefilepath` of the Go release you're merging from; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
go1.19.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.