mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-05 00:50:24 +08:00
TUN-1052: Origintunneld can send back an Origincert to Cloudflared
This commit is contained in:
committed by
Areg Harutyunyan
parent
4c464e1adf
commit
3079f27205
@@ -32,6 +32,7 @@ type TunnelRegistration struct {
|
||||
LogLines []string
|
||||
PermanentFailure bool
|
||||
TunnelID string `capnp:"tunnelID"`
|
||||
OriginCert string `capnp:"originCert"`
|
||||
}
|
||||
|
||||
func MarshalTunnelRegistration(s tunnelrpc.TunnelRegistration, p *TunnelRegistration) error {
|
||||
|
||||
@@ -19,6 +19,8 @@ struct TunnelRegistration {
|
||||
permanentFailure @3 :Bool;
|
||||
# Displayed to user
|
||||
tunnelID @4 :Text;
|
||||
# Certificate that authorizes the origin to run tunnels on the given url.
|
||||
originCert @5 :Text;
|
||||
}
|
||||
|
||||
struct RegistrationOptions {
|
||||
|
||||
Reference in New Issue
Block a user