mirror of
https://github.com/znc/znc.git
synced 2026-05-01 19:12:31 +02:00
Improvements to modpython.
1. Be able to write binary data to any sockets, not only to ones created from python. 2. Add support for CSmartPtr<CWebSession>
This commit is contained in:
@@ -180,7 +180,6 @@ public:
|
||||
virtual void ReadData(const char *data, size_t len);
|
||||
virtual void ReadLine(const CString& sLine);
|
||||
virtual Csock* GetSockObj(const CString& sHost, unsigned short uPort);
|
||||
PyObject* WriteBytes(PyObject* data);
|
||||
};
|
||||
|
||||
inline CPySocket* CreatePySocket(CPyModule* pModule, PyObject* pyObj) {
|
||||
|
||||
Reference in New Issue
Block a user