mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-04 20:51:29 +00:00
allows sending websockets messages directly from a sharedarea
This commit is contained in:
@@ -1589,7 +1589,7 @@ PyObject *py_uwsgi_sharedarea_read(PyObject * self, PyObject * args) {
|
||||
if (!sa) {
|
||||
return PyErr_Format(PyExc_ValueError, "error calling uwsgi_sharedarea_read()");
|
||||
}
|
||||
len = sa->max_pos+1;
|
||||
len = (sa->max_pos+1)-pos;
|
||||
}
|
||||
|
||||
PyObject *ret = PyString_FromStringAndSize(NULL, len);
|
||||
|
||||
Reference in New Issue
Block a user