| Index: third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/wsasend.pxi
|
| diff --git a/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/wsasend.pxi b/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/wsasend.pxi
|
| deleted file mode 100644
|
| index 03c44ada67c588d7274ff22184e6e9bea5e021cd..0000000000000000000000000000000000000000
|
| --- a/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/wsasend.pxi
|
| +++ /dev/null
|
| @@ -1,27 +0,0 @@
|
| -# Copyright (c) 2008 Twisted Matrix Laboratories.
|
| -# See LICENSE for details.
|
| -
|
| -
|
| -def send(long s, object buff, object obj, unsigned long flags = 0):
|
| - cdef int rc
|
| - cdef myOVERLAPPED *ov
|
| - cdef WSABUF ws_buf
|
| - cdef unsigned long bytes
|
| -
|
| - PyObject_AsReadBuffer(buff, <void **>&ws_buf.buf, <int *>&ws_buf.len)
|
| -
|
| - ov = makeOV()
|
| - if obj is not None:
|
| - ov.obj = <PyObject *>obj
|
| -
|
| - rc = WSASend(s, &ws_buf, 1, &bytes, flags, <OVERLAPPED *>ov, NULL)
|
| -
|
| - if rc == SOCKET_ERROR:
|
| - rc = WSAGetLastError()
|
| - if rc != ERROR_IO_PENDING:
|
| - return rc, bytes
|
| -
|
| - Py_XINCREF(obj)
|
| - return rc, bytes
|
| -
|
| -
|
|
|