We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a5aa65 commit 7241f4eCopy full SHA for 7241f4e
1 file changed
src/internal.c
@@ -8920,6 +8920,12 @@ static int DoChannelOpen(WOLFSSH* ssh,
8920
if (ssh->ctx->channelOpenCb) {
8921
ret = ssh->ctx->channelOpenCb(newChannel, ssh->channelOpenCtx);
8922
}
8923
+ else {
8924
+ WLOG(WS_LOG_WARN, "No channel open callback set "
8925
+ "(call wolfSSH_CTX_SetChannelOpenCb()), accepting "
8926
+ "channel open by default; typeId=%u, peerChannelId=%u",
8927
+ (word32)typeId, peerChannelId);
8928
+ }
8929
if (ssh->channelListSz == 0)
8930
ssh->defaultPeerChannelId = peerChannelId;
8931
#ifdef WOLFSSH_FWD
0 commit comments