- 14 Mar, 2002 1 commit
-
-
Niels Möller authored
Added trace call. Rev: src/io.c:1.159
-
- 27 Feb, 2002 1 commit
-
-
Niels Möller authored
until the callout should be invoked. Rev: src/io.c:1.158 Rev: src/io.h:1.87
-
- 24 Jan, 2002 1 commit
-
-
Niels Möller authored
functions that need it. Rev: src/io.c:1.157
-
- 30 Oct, 2001 1 commit
-
-
Niels Möller authored
closed and becomes empty. (close_fd_write): New function. Rev: src/io.c:1.156 Rev: src/io.h:1.86
-
- 02 Oct, 2001 1 commit
-
-
Niels Möller authored
file into a string. Uses string_buffer. Rev: src/io.c:1.155 Rev: src/io.h:1.85
-
- 30 Sep, 2001 1 commit
-
-
Niels Möller authored
(do_consuming_read): Deleted old code to deal with fd->hanged_up. (do_write_callback): Call write_buffer_pre_write instead of FD_PREPARE. Rev: src/io.c:1.154
-
- 28 Sep, 2001 1 commit
-
-
Niels Möller authored
(close_fd): Set the flag write_buffer->closed directly, instead of calling FD_WRITE_CLOSE. (close_fd_nicely): Don't use FD_WRITE_CLOSE, instead, set the write_buffer->closed flag, and close the fd if the write_buffer is empty. Rev: src/io.c:1.153
-
- 27 Sep, 2001 2 commits
-
-
Niels Möller authored
Rev: src/client.c:1.133 Rev: src/gc.c:1.26 Rev: src/gc.h:1.11 Rev: src/io.c:1.152 Rev: src/io.h:1.82 Rev: src/io_commands.c:1.49 Rev: src/io_commands.h:1.23 Rev: src/lsh.c:1.151 Rev: src/read_file.c:1.3 Rev: src/reaper.c:1.22 Rev: src/unix_interact.c:1.13
-
Niels Möller authored
(io_run): Check for OOP_ERROR. #if:ed out for now, as it is not defined in liboop-0.7. Rev: src/io.c:1.151
-
- 25 Sep, 2001 2 commits
-
-
Niels Möller authored
(lsh_oop_register_callout): New function. (lsh_oop_cancel_callout): New function. (do_kill_callout): New function. (io_callout): Deleted delay argument, as delays are not currently implemented. * src/io.c (io_final): Call gc_final. That makes sure that all callbacks are cancelled. Updated callers to not use gc_final, only io_final. Rev: src/io.c:1.150 Rev: src/io.h:1.81
-
Niels Möller authored
callbacks are cancelled. Rev: src/io.c:1.149
-
- 24 Sep, 2001 2 commits
-
-
Niels Möller authored
files with gc_global() instead. Deleted all references to io_backend in the rest of the source files. Doesn't quite work yet. Rev: src/client.c:1.130 Rev: src/client.h:1.45 Rev: src/client_x11.c:1.12 Rev: src/gc.h:1.9 Rev: src/interact.h:1.9 Rev: src/io.c:1.148 Rev: src/io.h:1.80 Rev: src/io_commands.c:1.45 Rev: src/io_commands.h:1.20 Rev: src/lsh-decode-key.c:1.10 Rev: src/lsh-export-key.c:1.10 Rev: src/lsh-writekey.c:1.16 Rev: src/lsh.c:1.147 Rev: src/lsh.h:1.22 Rev: src/lsh_proxy.c:1.24 Rev: src/lshd.c:1.124 Rev: src/lshg.c:1.14 Rev: src/reaper.c:1.21 Rev: src/reaper.h:1.10 Rev: src/resource.h:1.12 Rev: src/server_session.c:1.68 Rev: src/server_session.h:1.16 Rev: src/server_userauth.h:1.19 Rev: src/sexp-conv.c:1.9 Rev: src/srp-gen.c:1.11 Rev: src/tcpforward_commands.c:1.36 Rev: src/tcpforward_commands.h:1.6 Rev: src/unix_interact.c:1.12 Rev: src/unix_user.c:1.41
-
Niels Möller authored
(lsh_oop_signal_callback): Return OOP_CONTINUE. (lsh_oop_fd_read_callback): Return OOP_CONTINUE. (lsh_oop_register_read_fd): Check want_read, so we don't try to register the callback twice. (lsh_oop_fd_write_callback): Fixed assertion. (lsh_oop_fd_write_callback): Return OOP_CONTINUE. (lsh_oop_register_write_fd): Check want_write, so we don't try to register the callback twice. (io_run): Print a trace message if/when oop_sys_run returns. (do_connect_callback): Improved trace messages. (io_connect): Initialize fd->write before calling lsh_oop_register_write_fd. (io_listen): Initialize fd->read before calling lsh_oop_register_read_fd. (close_fd): Call lsh_oop_cancel_read_fd and lsh_oop_cancel_write_fd before clearing the alive flag. Rev: src/io.c:1.147
-
- 23 Sep, 2001 1 commit
-
-
Niels Möller authored
Rev: src/io.c:1.146
-
- 21 Sep, 2001 1 commit
-
-
Niels Möller authored
(lsh_oop_register_read_fd): Updated the want_read flag. Changed most functions to call this function instead of updating the flag directly. (lsh_oop_cancel_read_fd): Likewise. (lsh_oop_register_write_fd): Analogous changes for the want_write flag. (lsh_oop_cancel_write_fd): Likewise. (do_exc_finish_read_handler): Use lsh_oop_register_read_fd and lsh_oop_cancel_read_fd. Rev: src/io.c:1.145
-
- 18 Sep, 2001 1 commit
-
-
Niels Möller authored
(do_write_callback): Call FD_PREPARE. (close_fd): Call lsh_oop_cancel_fd. (close_fd_nicely): Likewise. (close_fd_read): Likewise. Rev: src/io.c:1.144
-
- 17 Sep, 2001 2 commits
-
-
Niels Möller authored
(make_lsh_oop_glue): New function. (lsh_oop_signal_callback): New function. (lsh_oop_register_signal): New function. (lsh_oop_fd_callback): New function. (lsh_oop_register_fd): New function. Rev: src/io.c:1.143
-
Niels Möller authored
Rev: src/io.c:1.142 Rev: src/io.h:1.78
-
- 13 Sep, 2001 1 commit
-
-
Niels Möller authored
copied from 1.2 branch. Rev: src/io.c:1.141
-
- 01 Sep, 2001 1 commit
-
-
Niels Möller authored
consistency. Updated all callers. Rev: src/client_pty.c:1.18 Rev: src/io.c:1.140 Rev: src/resource.c:1.18 Rev: src/resource.h:1.11 Rev: src/server_pty.c:1.21 Rev: src/unix_interact.c:1.9 Rev: src/unix_user.c:1.40 Rev: src/xauth.c:1.2
-
- 28 Aug, 2001 1 commit
-
-
Niels Möller authored
Rev: ChangeLog:1.386 Rev: src/io.c:1.139
-
- 26 Jun, 2001 1 commit
-
-
Niels Möller authored
(io_connect_local): Likewise. Rev: src/io.c:1.138
-
- 09 Jun, 2001 1 commit
-
-
Niels Möller authored
close_fd_read after A_WRITE. * src/io.c (do_kill_io_backend): Let close_fd do it's work. * src/io.c (close_fd): Really close the fd, and invoke any close callback. (io_iter): Simplified handling of closed files. Simply unlink them, close_fd has to do the rest of the work. Rev: src/io.c:1.137
-
- 26 Apr, 2001 1 commit
-
-
Niels Möller authored
way, the user doensn't have to use an exception handler just for closing the file. Rev: src/io.c:1.136
-
- 12 Apr, 2001 1 commit
-
-
Niels Möller authored
(do_exc_finish_read_handler): Close fd immediately on EXC_FINISH_IO. XXX Fix in 1.2 branch. Rev: src/io.c:1.135 Rev: src/io.h:1.77
-
- 11 Apr, 2001 1 commit
-
-
Niels Möller authored
Rev: doc/TODO:1.113 Rev: src/io.c:1.134 Rev: src/lshg.c:1.9 Rev: src/unix_user.c:1.36
-
- 08 Apr, 2001 3 commits
-
-
Niels Möller authored
Rev: src/io.c:1.133
-
Niels Möller authored
* src/io.c (kill_fd): Deleted. (io_backend): Inherit resource. (do_kill_io_backend): New function. (make_io_backend): Call resource_init. (io_final): New function. (init_file): New argument LABEL. (make_lsh_fd): New rgument LABEL. Updated callers. (close_fd): Display label. (io_iter): Display label. Rev: src/io.c:1.132 Rev: src/io.h:1.76
-
Niels Möller authored
NUL_TERMINATED. * src/io.c (address_info2sockaddr): Likewise. (make_local_info): Likewise. (io_listen_local): Likewise. (io_connect_local): Likewise. Rev: src/io.c:1.131
-
- 05 Apr, 2001 1 commit
-
-
Niels Möller authored
error. Rev: src/io.c:1.130
-
- 04 Apr, 2001 1 commit
-
-
Niels Möller authored
write_buffer_alloc to make_write_buffer. Updated callers. Rev: src/io.c:1.129 Rev: src/write_buffer.c:1.22 Rev: src/write_buffer.h:1.20
-
- 12 Mar, 2001 2 commits
-
-
Niels Möller authored
and added a _UNIX-suffix on the macros to indicate that they are for AF_UNIX sockets only. Rev: src/io.c:1.128 Rev: src/io.h:1.74
-
Niels Möller authored
Rev: src/io.c:1.127
-
- 25 Feb, 2001 1 commit
-
-
Niels Möller authored
comments. (GNU coding standard). Rev: src/bignum.c:1.19 Rev: src/channel.c:1.93 Rev: src/channel_commands.c:1.23 Rev: src/client.c:1.106 Rev: src/client_keyexchange.c:1.57 Rev: src/client_userauth.c:1.46 Rev: src/connection.c:1.62 Rev: src/daemon.c:1.7 Rev: src/dh_exchange.c:1.12 Rev: src/gateway_channel.c:1.8 Rev: src/gateway_commands.c:1.8 Rev: src/gc.c:1.15 Rev: src/io.c:1.126 Rev: src/io_commands.c:1.36 Rev: src/jpoll.c:1.7 Rev: src/lsh_proxy.c:1.21 Rev: src/proxy_channel.c:1.5 Rev: src/proxy_session.c:1.9 Rev: src/proxy_tcpforward.c:1.6 Rev: src/proxy_userauth.c:1.7 Rev: src/reaper.c:1.19 Rev: src/server_keyexchange.c:1.47 Rev: src/server_pty.c:1.19 Rev: src/server_session.c:1.58 Rev: src/server_userauth.c:1.31 Rev: src/sexp.c:1.35 Rev: src/sexp_streamed_parser.c:1.29 Rev: src/spki_commands.c:1.18 Rev: src/tcpforward.c:1.60 Rev: src/tcpforward_commands.c:1.29 Rev: src/translate_signal.c:1.3 Rev: src/unix_interact.c:1.4 Rev: src/unix_random.c:1.8 Rev: src/unix_user.c:1.32 Rev: src/werror.c:1.50 Rev: src/zlib.c:1.30
-
- 22 Feb, 2001 1 commit
-
-
Niels Möller authored
(do_buffered_read): Call close_fd_read on EOF. This stops reading from the file, and also marks it for closing unless it has a write callback. (do_consuming_read): Likewise. Rev: ChangeLog:1.308 Rev: src/io.c:1.125 Rev: src/io.h:1.73
-
- 21 Feb, 2001 1 commit
-
-
Niels Möller authored
want_read is true. Check fd->hanged_up first. Rev: src/io.c:1.124
-
- 20 Feb, 2001 1 commit
-
-
Niels Möller authored
volatile modifier to all uses of sig_atomic_t. Rev: src/io.c:1.123 Rev: src/io.h:1.72 Rev: src/reaper.c:1.18 Rev: src/unix_interact.c:1.3
-
- 18 Feb, 2001 1 commit
-
-
Niels Möller authored
(do_buffered_read): Likewise. (sockaddr2info): Silently return NULL for AF_UNIX addresses. Rev: src/io.c:1.122
-
- 31 Jan, 2001 1 commit
-
-
Niels Möller authored
POLLHUP && !POLLIN is treated as EOF. Rev: src/io.c:1.121
-
- 30 Jan, 2001 1 commit
-
-
Niels Möller authored
read() if fd->hanged_up is set. (init_file): Initialize hanged_up. Rev: src/io.c:1.120
-