@pymethod int|EXTENSION_CONTROL_BLOCK|IsKeepConn|Calls ServerSupportFunction with HSE_REQ_IS_KEEP_CONN
| 711 | |
| 712 | // @pymethod int|EXTENSION_CONTROL_BLOCK|IsKeepConn|Calls ServerSupportFunction with HSE_REQ_IS_KEEP_CONN |
| 713 | PyObject * PyECB::IsKeepConn(PyObject *self, PyObject *args) |
| 714 | { |
| 715 | if (!PyArg_ParseTuple(args, ":IsKeepConn")) |
| 716 | return NULL; |
| 717 | |
| 718 | PyECB * pecb = (PyECB *) self; |
| 719 | if (!pecb || !pecb->Check()) return NULL; |
| 720 | BOOL bRes, bIs; |
| 721 | Py_BEGIN_ALLOW_THREADS |
| 722 | bRes = pecb->m_pcb->IsKeepConn(&bIs); |
| 723 | Py_END_ALLOW_THREADS |
| 724 | if (!bRes) |
| 725 | return SetPyECBError("ServerSupportFunction(HSE_REQ_IS_KEEP_CONN)"); |
| 726 | return PyBool_FromLong(bIs); |
| 727 | } |
| 728 | |
| 729 | // @pymethod int|EXTENSION_CONTROL_BLOCK|ExecURL|Calls ServerSupportFunction with HSE_REQ_EXEC_URL |
| 730 | // @comm This function is only available in IIS6 and later. |
nothing calls this directly
no test coverage detected