summaryrefslogtreecommitdiffstats
path: root/libvncserver/httpd.c
Commit message (Collapse)AuthorAgeFilesLines
* Generally adjusting headers for compiling on windows without the mixing of ↵Daniel Cohen Gindi2014-09-201-1/+8
| | | | Winsock 1 and 2.
* Fixed a violation of the C89 standard ("declarations must come before ↵Daniel Cohen Gindi2014-09-201-4/+6
| | | | instructions")
* Tune the definitions needed when building with -ansi.Raphael Kubo da Costa2012-09-141-0/+5
| | | | | | | | | | | | | The current definitions were mostly useful to glibc and followed its feature_test_macros(3) documentation. However, this means other platforms still had problems when building with strict compilation flags. _BSD_SOURCE, for example, is only recognized by glibc, and other platforms sometimes need _XOPEN_SOURCE instead, or even the removal of some definitions (such as the outdate _POSIX_SOURCE one). _POSIX_SOURCE also had to be conditionally defined in some places, as what it enables or disables during compilation varies across systems.
* IPv6 support for LibVNCServer, part four: add copyright notices to files ↵Christian Beier2012-04-021-0/+1
| | | | with non-trivial changes.
* IPv6 support for LibVNCServer, part two: Let the http server listen on IPv6, ↵Christian Beier2012-02-271-15/+75
| | | | | | too. As done with the RFB sockets, this uses a separate-socket approach as well.
* novnc client: use the client's notion about the server hostname instead of ↵Christian Beier2011-11-091-4/+0
| | | | what the server thinks.
* httpd: fix sending of binary data such as images.Christian Beier2011-10-061-17/+7
| | | | | | | | | We do this simply by omitting the content-type and let the browser decide upon the mime-type of the sent file. Only exception is 'index.vnc', where we do set the content-type since some browsers fail to detect it's html when it's ending in '.vnc' Also, remove superfluous #defines. We close the connection always.
* Add noVNC HTML5 client connect possibility to our http server.Christian Beier2011-10-041-6/+4
| | | | Pure JavaScript, no Java plugin required anymore! (But a recent browser...)
* Set proper file permissions for source files.Christian Beier2011-03-101-0/+0
|
* Call WSAGetLastError() everywhere errno is read after a Winsock call.Christian Beier2011-03-031-0/+3
| | | | | Winsock does NOT update errno for us, we have fetch the last error manually using WSAGetLastError().
* Non-blocking sockets for Windows.Christian Beier2010-09-131-20/+5
| | | | | | | | | | | Expands the SetNonBlocking() function in libvncclient/sockets.c to also work under Windows and also changes it to honour maybe already present socket flags. A similar function was introduced for libvncserver as well and all the #ifdef'ed fnctl calls replaced with calls to that one. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Add "Connection: close" to HTTP replies.runge2007-03-201-2/+15
|
* SSL patch for Java viewer. https support for x11vnc.runge2006-03-281-1/+5
|
* x11vnc: -gui tray mode, httpd.c: check httpListenSock >= 0.runge2005-07-021-0/+3
|
* ANSIfy, fix some warnings from Linus' sparsedscho2005-05-151-3/+3
|
* socketInitDone -> socketStatedscho2005-05-071-0/+7
|
* add '-listen ipaddr' optionrunge2005-03-051-1/+2
|
* support MinGW32!dscho2004-12-011-0/+5
|
* global structures/functions should have "rfb", "sra" or "zrle" as prefix,dscho2004-08-301-29/+29
| | | | while structure members should not
* move the library into libvncserver/, x11vnc into x11vnc/dscho2004-05-251-0/+579