diff --git a/config/noauthprobe/protocol.go b/config/noauthprobe/protocol.go index 97fb868..041c4ff 100644 --- a/config/noauthprobe/protocol.go +++ b/config/noauthprobe/protocol.go @@ -9,10 +9,15 @@ const ( HTTPRequestHeaderKey_NoAuthProbe_Info = "overFlow-NoAuthProbe-Info" HTTPRequestHeaderKey_NoAuthProbe_TempProbeKey = "overFlow-NoAuthProbe-TempProbeKey" - HTTPResponseHeaderKey_NoAuthProbe_SetTempProbeKey = "overFlow-NoAuthProbe-SetTempProbeKey" + HTTPResponseHeaderKey_NoAuthProbe_Method = "overFlow-NoAuthProbe-Method" + HTTPResponseHeaderKey_NoAuthProbe_Method_Param = "overFlow-NoAuthProbe-Method-Param" ) const ( HTTPRequestHeaderValue_NoAuthProbe_Method_Regist = "REGIST" HTTPRequestHeaderValue_NoAuthProbe_Method_Connect = "CONNECT" + + HTTPResponseHeaderValue_NoAuthProbe_Method_TempProbeKey = "TEMP_PROBE_KEY" + HTTPResponseHeaderValue_NoAuthProbe_Method_Accept = "ACCEPT" + HTTPResponseHeaderValue_NoAuthProbe_Method_Deny = "DENY" ) diff --git a/config/probe/protocol.go b/config/probe/protocol.go index ee652ff..76f4be0 100644 --- a/config/probe/protocol.go +++ b/config/probe/protocol.go @@ -9,9 +9,13 @@ const ( HTTPRequestHeaderKey_Probe_Method = "overFlow-Probe-Method" HTTPRequestHeaderKey_Probe_ProbeKey = "overFlow-Probe-ProbeKey" - HTTPResponseHeaderKey_Probe_SetEncryptionKey = "overFlow-Probe-SetEncryptionKey" + HTTPResponseHeaderKey_Probe_Method = "overFlow-Probe-Method" + HTTPResponseHeaderKey_Probe_Method_Param = "overFlow-Probe-Method-Param" ) const ( HTTPRequestHeaderValue_Probe_Method_Connect = "CONNECT" + + HTTPResponseHeaderValue_Probe_Method_EncryptionKey = "ENCRYPTION_KEY" + HTTPResponseHeaderValue_Probe_Method_DELETE = "DELETE" )