ssl stream和ssl policy对接tfe_cmsg_xx。
This commit is contained in:
@@ -108,7 +108,7 @@ int tfe_proxy_fds_accept(struct tfe_proxy * ctx, int fd_downstream, int fd_upstr
|
||||
enum tfe_stream_proto stream_protocol;
|
||||
uint16_t __size;
|
||||
|
||||
int result = tfe_cmsg_get_value(cmsg, TFE_CMSG_TCP_RESTORE_PROTOCOL, (char *)&stream_protocol,
|
||||
int result = tfe_cmsg_get_value(cmsg, TFE_CMSG_TCP_RESTORE_PROTOCOL, (unsigned char *)&stream_protocol,
|
||||
sizeof(stream_protocol), &__size);
|
||||
|
||||
if (unlikely(result < 0))
|
||||
|
||||
Reference in New Issue
Block a user