mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopd: fix ALPN issue with Python
There is an open issue for Python gRPC clients that is currently being debugged grpc/grpc#23172 It can be mitigated server-side by specifying h2 in the metadata header.
This commit is contained in:
parent
df5924f25a
commit
4e45c2908a
1 changed files with 1 additions and 0 deletions
|
|
@ -319,6 +319,7 @@ func getTLSConfig(cfg *Config) (*tls.Config, *credentials.TransportCredentials,
|
|||
}
|
||||
|
||||
tlsCfg := cert.TLSConfFromCert(certData)
|
||||
tlsCfg.NextProtos = []string{"h2"}
|
||||
restCreds, err := credentials.NewClientTLSFromFile(
|
||||
cfg.TLSCertPath, "",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue