Update VerifyHTTPRequest to accept a server name function#344
Merged
neilalexander merged 3 commits intomainfrom Oct 25, 2022
Merged
Update VerifyHTTPRequest to accept a server name function#344neilalexander merged 3 commits intomainfrom
VerifyHTTPRequest to accept a server name function#344neilalexander merged 3 commits intomainfrom
Conversation
kegsay
reviewed
Oct 25, 2022
kegsay
approved these changes
Oct 25, 2022
DMRobertson
pushed a commit
to matrix-org/complement
that referenced
this pull request
Jan 13, 2023
See matrix-org/gomatrixserverlib#344 AFAICS passing nil means that the server isn't going to accept any vhosting shenanigans.
DMRobertson
pushed a commit
to matrix-org/complement
that referenced
this pull request
Jan 13, 2023
* Use stable identifiers for faster joins * Pull in corresponding GMSL changes ``` $ go get -u github.com/matrix-org/gomatrixserverlib@dmr/msc-3706-stable-identifiers go: downloading github.com/matrix-org/gomatrixserverlib v0.0.0-20230112185427-4f65e88d2a5b go: downloading golang.org/x/crypto v0.5.0 go: downloading github.com/matrix-org/gomatrix v0.0.0-20220926102614-ceba4d9f7530 go: downloading github.com/matrix-org/util v0.0.0-20221111132719-399730281e66 go: downloading github.com/tidwall/gjson v1.14.4 go: downloading golang.org/x/sys v0.4.0 go: downloading github.com/tidwall/pretty v1.2.1 go: downloading golang.org/x/text v0.6.0 go: downloading golang.org/x/net v0.5.0 go: downloading golang.org/x/tools v0.1.12 go: downloading github.com/miekg/dns v1.1.50 go: downloading gopkg.in/h2non/gock.v1 v1.1.2 go: downloading github.com/stretchr/testify v1.8.0 go: upgraded github.com/matrix-org/gomatrix v0.0.0-20210324163249-be2af5ef2e16 => v0.0.0-20220926102614-ceba4d9f7530 go: upgraded github.com/matrix-org/gomatrixserverlib v0.0.0-20220830164018-c71e518537a2 => v0.0.0-20230112185427-4f65e88d2a5b go: upgraded github.com/matrix-org/util v0.0.0-20200807132607-55161520e1d4 => v0.0.0-20221111132719-399730281e66 go: upgraded github.com/tidwall/gjson v1.14.3 => v1.14.4 go: upgraded github.com/tidwall/pretty v1.2.0 => v1.2.1 go: upgraded golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 => v0.5.0 go: upgraded golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 => v0.5.0 go: upgraded golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 => v0.4.0 go: upgraded golang.org/x/tools v0.1.9 => v0.1.12 go: upgraded gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b => v3.0.1 ``` * Adapt to GMSL secondary server names change See matrix-org/gomatrixserverlib#344 AFAICS passing nil means that the server isn't going to accept any vhosting shenanigans. * GMSL signing identity changes matrix-org/gomatrixserverlib@900369e * More `origin` arguments there's probably a neater way to not write `gomatrixserverlib.ServerName` but idk what the best thing to do is here. * And some more that I missed due to build tags * Need to call ServerName() after Listen() * Update to GMSL PR changes * And another one I missed * And another one I missed missed this one because struct fields are optional(?) * Use main branch of GMSL * Fix bad git hygiene
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is needed for matrix-org/dendrite#2829.