mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 13:41:28 +00:00
generalized offload subsystem
This commit is contained in:
@@ -692,7 +692,8 @@ PyObject *py_uwsgi_send(PyObject * self, PyObject * args) {
|
||||
|
||||
}
|
||||
|
||||
PyObject *py_uwsgi_offload_transfer(PyObject * self, PyObject * args) {
|
||||
PyObject *py_uwsgi_offload(PyObject * self, PyObject * args) {
|
||||
/*
|
||||
size_t len = 0;
|
||||
char *filename = NULL;
|
||||
struct wsgi_request *wsgi_req = current_wsgi_req();
|
||||
@@ -722,6 +723,8 @@ PyObject *py_uwsgi_offload_transfer(PyObject * self, PyObject * args) {
|
||||
}
|
||||
UWSGI_GET_GIL
|
||||
|
||||
*/
|
||||
|
||||
return PyString_FromString("");
|
||||
}
|
||||
|
||||
@@ -2464,7 +2467,7 @@ static PyMethodDef uwsgi_advanced_methods[] = {
|
||||
{"rpc_list", py_uwsgi_rpc_list, METH_VARARGS, ""},
|
||||
{"call", py_uwsgi_call, METH_VARARGS, ""},
|
||||
{"sendfile", py_uwsgi_advanced_sendfile, METH_VARARGS, ""},
|
||||
{"offload_transfer", py_uwsgi_offload_transfer, METH_VARARGS, ""},
|
||||
{"offload", py_uwsgi_offload, METH_VARARGS, ""},
|
||||
{"set_warning_message", py_uwsgi_warning, METH_VARARGS, ""},
|
||||
{"mem", py_uwsgi_mem, METH_VARARGS, ""},
|
||||
{"has_hook", py_uwsgi_has_hook, METH_VARARGS, ""},
|
||||
|
||||
Reference in New Issue
Block a user