Matthias Dieter Wallnöfer
76cd237ee5
s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an "asprintf" failure
2010-05-30 11:12:25 +02:00
Matthias Dieter Wallnöfer
f11cf62016
s4:web_server/wsgi.c - provide a better out-of-memory handling for an "asprintf" call
2010-05-28 18:58:45 +02:00
Matthias Dieter Wallnöfer
ce99f9e734
s4:web_server/wsgi.c - fix "asprintf" call
2010-05-28 10:04:48 +02:00
Stefan Metzmacher
6129aa0cf5
s4:web_server: use tsocket_address functions to get the local ip and port
...
metze
(cherry picked from commit 9a1a00199c
)
2010-04-28 15:45:02 +02:00
Matthias Dieter Wallnöfer
d1db751ff8
Revert "s4:web_server: use tsocket_address functions to get the local ip and port"
...
This reverts commit 9a1a00199c
.
This broke the build.
2010-04-27 18:45:42 +02:00
Stefan Metzmacher
9a1a00199c
s4:web_server: use tsocket_address functions to get the local ip and port
...
metze
2010-04-27 17:05:30 +02:00
Matthias Dieter Wallnöfer
e34637b2a6
s4:Remove "Py_RETURN_NONE" compatibility code
...
This was needed only by Python 2.3 which we no longer support.
2010-02-09 17:53:09 +01:00
Andrew Tridgell
3050f83288
s4-python: we need to include Python.h first
...
If we don't include Python.h first then we get a pile of warnings due
to broken redefines of XOPEN_SOURCE in the Python includes.
2009-10-23 16:23:01 +11:00
Stefan Metzmacher
62c8f6b1a5
s4:web_server: s/private/private_data
...
metze
2009-02-02 13:08:50 +01:00
Jelmer Vernooij
ba5d6e6d70
Avoid using a utility header for Python replacements included in Samba,
...
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-08 12:20:20 +01:00
Tim Prouty
61a23c5eea
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
2009-01-07 15:03:16 -08:00
Jelmer Vernooij
d2c70d24e1
py: Properly increase the reference counter of Py_None.
2009-01-06 04:13:57 +01:00
Jelmer Vernooij
bd64688c6a
Fix more compiler warnings in various places.
2008-12-23 22:57:11 +01:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
f3d513b378
Support POST requests again, provide more variables in environment.
2008-09-21 20:01:00 +02:00
Jelmer Vernooij
1ed040d8e2
First GET request works. SWAT now displays a Hello world message.
2008-09-21 19:03:12 +02:00
Jelmer Vernooij
4141e70da9
Properly call WSGI request handler when requests come in.
2008-09-21 18:45:09 +02:00
Jelmer Vernooij
1271066234
Remove support for ESP in the web server.
2008-09-21 16:53:29 +02:00
Jelmer Vernooij
fda85985e9
Remove some dependencies of the web server on esp.
2008-09-21 16:03:52 +02:00
Jelmer Vernooij
2df040d899
Add input / error stream objects in WSGI implementation.
2008-09-21 16:03:52 +02:00
Jelmer Vernooij
a4e8ff7429
Add more parts of the WSGI implementation.
2008-09-21 16:03:52 +02:00
Jelmer Vernooij
4bb17b60ef
Add initial work on WSGI support in the web server.
2008-09-21 16:03:52 +02:00