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:
Alexey Sokolov
2012-08-13 20:01:07 +07:00
parent d7bd8d8a04
commit fcc7839771
3 changed files with 21 additions and 18 deletions

View File

@@ -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) {