<i>PATCH: BIO_CTRL_PUSH not handled</i> status still Open with 5 other changes
by
.
D 2023-10-22T09:40:24.362
J icomment Ignoring\sall\sunknown\scontrols\sis\snot\sa\sgood\sidea.\s\r\n\r\nSince\snot\sall\sOpenSSL\sversions\sand\svariants\ssupport\s"BIO_CTRL_POP"\sand\s"BIO_CTRL_PUSH",\sthe\sfollowing\sis\schange\sis\sa\smore\sproper\spatch.\r\n\r\nThis\swas\stested\swith\sTcl\s8.6.13,\stcltls-1.7.22\sand\sOpenSSL\s3.1.3\s(19\sSep\s2023).\r\n\r\n\r\n````\r\n---\stlsBIO.c-orig\t2023-10-21\s17:38:57\r\n+++\stlsBIO.c\t2023-10-22\s11:32:02\r\n@@\s-278,7\s+278,15\s@@\r\n\s\t\t\tdprintf("Got\sBIO_CTRL_FLUSH");\r\n\s\t\t\tret\s=\s((Tcl_WriteRaw(chan,\s"",\s0)\s>=\s0)\s?\s1\s:\s-1);\r\n\s\t\t\tdprintf("BIO_CTRL_FLUSH\sreturning\svalue\s%li",\sret);\r\n+\t\t\tbreak;\r\n+#ifdef\sBIO_CTRL_POP\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\scase\sBIO_CTRL_POP:\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sdprintf("Got\sBIO_CTRL_POP");\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sbreak;\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\scase\sBIO_CTRL_PUSH:\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sdprintf("Got\sBIO_CTRL_PUSH");\r\n\s\t\t\tbreak;\r\n+#endif\r\n\s\t\tdefault:\r\n\s\t\t\tdprintf("Got\sunknown\scontrol\scommand\s(%i)",\scmd);\r\n\s\t\t\tret\s=\s-2;\r\n````
J login gustafn3
J mimetype text/x-markdown
J priority Immediate
J resolution Open
K 006bd0c74e0a21fad58e6ef5f994f884a11fa741
U gustafn3
Z 896b1f6b06af399f0fce24ee2ac4cd7d