this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

BGS: allow non-SSL BGS with SSL PDS (#361)

seems like this should hopefully be allowed for testing, and the main
combination we want to prevent is SSL (ie prod) BGS with non-SSL PDS...?

authored by

Jaz and committed by
GitHub
9037d9bc 6acd4e53

+1 -1
+1 -1
bgs/bgs.go
··· 1026 1026 peering.Host = durl.Host 1027 1027 peering.SSL = (durl.Scheme == "https") 1028 1028 1029 - if s.ssl != peering.SSL { 1029 + if s.ssl && !peering.SSL { 1030 1030 return nil, fmt.Errorf("did references non-ssl PDS, this is disallowed in prod: %q %q", did, svc.ServiceEndpoint) 1031 1031 } 1032 1032