diff --git a/buildconf/core.ini b/buildconf/core.ini new file mode 100644 index 00000000..23975f2b --- /dev/null +++ b/buildconf/core.ini @@ -0,0 +1,29 @@ +[uwsgi] +xml = true +ini = true +snmp = true +sctp = false +erlang = false +spooler = false +embedded = false +udp = true +multicast = false +threading = true +sendfile = true +nagios = true +proxy = true +minterpreters = true +async = true +ugreen = false +http = true +evdis = false +ldap = true +routing = false +stackless = false +debug = false +unbit = false +xml_implementation = libxml2 +plugins = +bin_name = uwsgi +plugin_dir = . +embedded_plugins = diff --git a/plugins/python/wsgi_handlers.c b/plugins/python/wsgi_handlers.c index 7ff241d2..54802eb4 100644 --- a/plugins/python/wsgi_handlers.c +++ b/plugins/python/wsgi_handlers.c @@ -67,9 +67,6 @@ int uwsgi_request_wsgi(struct wsgi_request *wsgi_req) { int i; - size_t post_remains = wsgi_req->post_cl; - ssize_t post_chunk; - PyObject *pydictkey, *pydictvalue; char *path_info; diff --git a/uwsgiconfig.py b/uwsgiconfig.py index 5fd712f2..a26f15d4 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -384,6 +384,8 @@ if __name__ == "__main__": bconf = 'default.ini' try: bconf = sys.argv[2] + if not bconf.endswith('.ini'): + bconf += '.ini' except: pass build_uwsgi(uConf('buildconf/%s' % bconf))