Commit Graph

54 Commits

Author SHA1 Message Date
Michael Jumper
c9388ee536 Removing forced sleep between message handling. Can cause excess delays if handle_messages handles only one message and there are multiple messages waiting / piling up independent of handle frequency. 2011-11-28 02:29:05 -08:00
Michael Jumper
d1b4ce00e1 Set guac_error* before calling client handlers 2011-11-27 16:39:46 -08:00
Michael Jumper
0daf07a742 More logging 2011-11-27 16:29:42 -08:00
Michael Jumper
f9f864815c Using guac_error_message 2011-11-27 16:07:04 -08:00
Michael Jumper
2d7b398c72 Init logging handlers in client. 2011-11-27 14:26:59 -08:00
Michael Jumper
9c5f1da646 Additional logging, moderate cleanup. 2011-11-26 22:26:39 -08:00
Michael Jumper
76e55c5a51 Corrected includes 2011-11-26 22:08:25 -08:00
Michael Jumper
07a40605cb Fixed double free (free'd wrong pointer) 2011-11-26 12:18:57 -08:00
Michael Jumper
aa7be62488 Changed libguac check function to one that still exists. 2011-11-26 01:09:55 -08:00
Michael Jumper
4cf9f6b0ab Added logging to daemon. 2011-11-25 23:28:49 -08:00
Michael Jumper
8df489129a Documentation 2011-11-25 22:15:53 -08:00
Michael Jumper
f86c06684e Flush args instruction. 2011-11-25 16:42:46 -08:00
Michael Jumper
d8697631d0 Renamed io to socket (in vars) 2011-11-25 16:35:50 -08:00
Michael Jumper
c5ec3a71a3 Partial conversion to new logging, API, and naming conventions. 2011-11-25 16:30:17 -08:00
Michael Jumper
0a39a5d63d Added logging to client threads 2011-11-24 18:51:05 -08:00
Michael Jumper
66a0ff52ee Migration to new guac_read_instruction(), remove use of guac_free_instruction_data(). 2011-11-24 18:25:33 -08:00
Michael Jumper
0db81b73ac Migrated to new function defs with timeouts. 2011-11-23 00:45:43 -08:00
Michael Jumper
d4d2ba3af3 Moved thread API from libguac. 2011-11-23 00:23:53 -08:00
Michael Jumper
e4cbb8b4e8 Moved daemon functions from libguac 2011-11-23 00:01:27 -08:00
Michael Jumper
6f27f97289 Removed unused file. 2011-08-10 15:13:40 -07:00
Michael Jumper
68855b795c Removing win32 from guacd. Too heavy. 2011-07-14 01:13:20 -07:00
Michael Jumper
66c1144d4e If fork()ing, parent process must close child's socket fd. Child close() is not sufficient as both parent and child have a reference to the same socket fd, and fd will never be free'd if close() is not called from both processes. 2011-07-12 14:43:57 -07:00
Michael Jumper
71013a5a1b Added Default-Start/Stop to init.d script. 2011-06-03 00:07:23 -07:00
Michael Jumper
20927307d2 Updated version numbers to 0.4.0 2011-05-27 13:46:38 -07:00
Michael Jumper
d1759acca9 Fixed pointer warnings on POSIX and win32 2011-04-21 23:49:14 -07:00
Michael Jumper
4e1e693c2d Working win32 port 2011-04-21 15:54:29 -07:00
Michael Jumper
feff9f5138 Added -Werror -Wall -pedantic 2011-03-24 23:14:20 -07:00
Michael Jumper
03bbc76145 Use fork for connection handlers (preferrably), fix memory leak 2011-03-20 00:21:33 -07:00
Michael Jumper
ec2d9f6918 Using new log functions 2011-03-19 17:13:33 -07:00
Michael Jumper
b52a49d7b0 Ignore SIGPIPE (force checking of EPIPE instead). 2011-03-19 16:50:18 -07:00
Michael Jumper
1b326b9cfb Detach main thread. 2011-03-19 00:59:14 -07:00
Michael Jumper
a6bfd481c8 Added license block to Makefile.am 2011-03-02 01:21:34 -08:00
Michael Jumper
b6cceaa7f9 Added license block to configure.in 2011-03-02 01:19:24 -08:00
Michael Jumper
17c649704a Actual docs in README 2011-03-01 10:58:25 -08:00
Michael Jumper
b5891c779c Removed unused files, switched to foreign over GNU 2011-03-01 01:03:35 -08:00
Michael Jumper
3873b726b6 Added entry to ChangeLog 2011-03-01 00:58:39 -08:00
Michael Jumper
077bf9e20c Removed dependency on LSB - script should now work on generic UNIX and Linux distros without LSB 2011-02-28 14:36:40 -08:00
Michael Jumper
dd69712dc2 Adding guacd.in to EXTRA_DIST 2011-02-27 21:04:49 -08:00
Michael Jumper
15cc47f2af Adding support for LSB try-restart 2011-02-27 21:01:16 -08:00
Michael Jumper
bb4070925c Removed reference to sysconfig 2011-02-27 20:28:22 -08:00
Michael Jumper
5d13535fb4 Working LSB startup script. 2011-02-27 20:27:12 -08:00
Michael Jumper
23bc28253a Migrating to new version number system 2011-02-21 22:36:54 -08:00
Michael Jumper
efcfa12fe6 Changing to MPL/GPL/LGPL tri-license 2011-02-15 18:48:02 -08:00
Michael Jumper
1c84d1aecf Fixed fork() detection 2011-02-10 23:57:38 -08:00
Michael Jumper
5458ba05b5 Cleaned up daemon.c 2011-02-10 23:47:46 -08:00
Michael Jumper
7d1215e8c4 Thread support for MinGW32 2011-02-10 01:17:31 -08:00
Michael Jumper
e5074c2c58 Cross-platform close socket macro, init winsock if MINGW32, MINGW32 support(ish) for strerror 2011-02-10 00:27:31 -08:00
Michael Jumper
d7b1bc8dae Allow compile even if fork() and pthreads not present. 2011-02-08 19:58:26 -08:00
Michael Jumper
55f5755fc3 Calling setsockopt to allow reuse of socket. 2011-01-21 10:01:49 -08:00
Michael Jumper
e45c8be4da guacd should fork self into background, like any self-respecting daemon. 2010-12-17 17:26:57 -08:00