Commit graph

21 commits

Author SHA1 Message Date
Andreas Öman
3c92fe070c Add tcp_connect() and tcp_read() 2008-09-01 18:32:41 +00:00
Andreas Öman
491723e8e3 Don't sleep if epoll_wait() returns failure 2008-08-29 15:58:30 +00:00
Andreas Öman
cb8266e3ea Initial take on making tvheadend multithreaded instead of relying on a
poll/dispatcher framework.

The top reasons for going multithreaded is:

* Take adventage of multicore CPUs
* No need to put slow operations in ugly helper threads now that the entire app is designed for multithreads
* Some of the timing sensetive tasks (IPTV output / RTP / UDP pacing) can run on RT priority.
2008-08-29 15:29:33 +00:00
Andreas Öman
32e194948e Only log TCP activity if we are a client 2008-08-25 17:14:20 +00:00
Andreas Öman
ce4669b418 Rename tvheadend_newui to tvheadend 2008-08-25 16:22:50 +00:00
Andreas Öman
63524f157b Fix a couple of bugs related to enable/disable of TCP session handlers.
While at it, add a function for changin destination hostname.
2008-07-23 13:13:33 +00:00
Andreas Öman
feb9cddc65 Switch to buffer management framework in libhts 2008-07-21 08:40:12 +00:00
Andreas Öman
1080cff57f Add support for disabling/enabling a tcp client 2008-05-17 07:45:33 +00:00
Andreas Öman
b95b2b8c5b Add support for destroying a TCP client 2008-05-17 07:31:08 +00:00
Andreas Öman
2d700d2901 Rewrite HTTP server so it can defer replies 2008-04-14 18:59:31 +00:00
Andreas Öman
96d41e1e85 Add intial take on an AJAX based web user interface. 2008-04-03 19:15:00 +00:00
Andreas Öman
cc2c634b3d Fix complation on 64bit arch 2008-03-19 07:56:28 +00:00
Andreas Öman
93888d02d3 Add tcp_qput(), for writing data to a tcp_queue 2008-02-15 15:38:08 +00:00
Andreas Öman
3d01c3b914 Figure local address of established TCP session 2008-02-05 19:13:26 +00:00
Andreas Öman
5a99416936 Add an asynchronous hostname resolver and make tcp client use it 2007-12-03 14:55:55 +00:00
Andreas Öman
6f7d557ea1 reconnect faster (2 sec) 2007-12-02 13:48:29 +00:00
Andreas Öman
c9c1afcf35 Add TCP client 2007-12-02 11:09:48 +00:00
Andreas Öman
407fa80d9a coalesce databuffers before enqueueing on output socket 2007-11-22 21:30:06 +00:00
Andreas Öman
217cb2b318 add functions for printf'ing to a tcp_queue and a function for moving a queue onto the output queue 2007-11-04 09:34:35 +00:00
Andreas Öman
34316a0b80 allow line processer to return -1 to signal graceful disconnect 2007-11-02 16:15:15 +00:00
Andreas Öman
08ee05a41e factor out common TCP code to a file of its own 2007-10-31 16:10:40 +00:00