summaryrefslogtreecommitdiff
path: root/source4/web_server
AgeCommit message (Collapse)AuthorFilesLines
2010-11-15cldap: Build as shared module.Jelmer Vernooij1-1/+1
2010-11-15s4-server: make server sockets a child of the task contextAndrew Tridgell1-2/+3
We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-14web_server: Build as module.Jelmer Vernooij3-8/+14
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 14 17:58:05 UTC 2010 on sn-devel-104
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-14/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-30s4-smbd: don't initialise process models more than onceAndrew Tridgell1-1/+1
this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: removed dependencies on missing subsystemsAndrew Tridgell1-1/+1
these were left over from the old config.mk system
2010-10-10wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij1-11/+12
2010-10-10wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij1-3/+3
applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-7/+7
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-18web_server: Don't build wsgi support as python module but rather asJelmer Vernooij1-2/+3
subsystem so we don't install it into /usr/lib.
2010-05-30s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an ↵Matthias Dieter Wallnöfer1-0/+2
"asprintf" failure
2010-05-28s4:web_server/wsgi.c - provide a better out-of-memory handling for an ↵Matthias Dieter Wallnöfer1-1/+2
"asprintf" call
2010-05-28s4:web_server/wsgi.c - fix "asprintf" callMatthias Dieter Wallnöfer1-1/+3
2010-04-28s4:web_server: use tsocket_address functions to get the local ip and portStefan Metzmacher3-7/+13
metze (cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405)
2010-04-27Revert "s4:web_server: use tsocket_address functions to get the local ip and ↵Matthias Dieter Wallnöfer1-11/+5
port" This reverts commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405. This broke the build.
2010-04-27s4:web_server: use tsocket_address functions to get the local ip and portStefan Metzmacher1-5/+11
metze
2010-04-06s4-waf: more dependencies on tallocAndrew Tridgell1-2/+3
these are needed so we can support a system talloc without using the bundled talloc.h
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+14
2010-02-09s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer1-4/+0
This was needed only by Python 2.3 which we no longer support.
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-1/+1
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-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell1-1/+1
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-02-02s4:service_stream: s/private/private_dataStefan Metzmacher1-4/+4
metze
2009-02-02s4:service_task: s/private/private_dataStefan Metzmacher1-3/+3
metze
2009-02-02s4:web_server: s/private/private_dataStefan Metzmacher2-3/+3
metze
2009-02-02s4:web_server: s/private/private_dataStefan Metzmacher1-2/+2
metze
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-4/+4
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-2/+2
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-23Fix more compiler warnings in various places.Jelmer Vernooij1-4/+0
2008-12-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-1/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij2-3/+3
2008-09-24Rename smbd -> samba.Jelmer Vernooij1-1/+1
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
2008-09-22s4: allways initialize the process model before it's usedStefan Metzmacher1-1/+1
metze
2008-09-21Revert "Rename smbd -> samba."Jelmer Vernooij1-1/+1
This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
2008-09-21Rename smbd -> samba.Jelmer Vernooij1-1/+1
2008-09-21Allow SWAT to be run outside of smbd.Jelmer Vernooij1-0/+5
2008-09-21Support POST requests again, provide more variables in environment.Jelmer Vernooij2-32/+75
2008-09-21Make standard SWAT script print received headers.Jelmer Vernooij1-2/+8
2008-09-21First GET request works. SWAT now displays a Hello world message.Jelmer Vernooij2-15/+32
2008-09-21Properly call WSGI request handler when requests come in.Jelmer Vernooij4-64/+198
2008-09-21Remove support for ESP in the web server.Jelmer Vernooij5-1066/+76
2008-09-21Remove some dependencies of the web server on esp.Jelmer Vernooij4-44/+61
2008-09-21Add input / error stream objects in WSGI implementation.Jelmer Vernooij1-13/+100
2008-09-21Add more parts of the WSGI implementation.Jelmer Vernooij1-2/+40
2008-09-21Add initial work on WSGI support in the web server.Jelmer Vernooij2-1/+70
2008-09-21Rename http to esp, in preparation of adding a python backend.Jelmer Vernooij3-11/+11
2008-09-16Remove remaining embedded JavaScript support.Jelmer Vernooij1-0/+1