Log of /lbbs/src/io.c
Parent Directory
|
Revision Log
Revision
1.80 -
(
view)
(
annotate)
-
[select for diffs]
Fri Dec 19 06:16:27 2025 UTC
(2 months, 3 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.79: +50 -50 lines
Diff to
previous 1.79
Append \n to the end of logging message by log_...()
Remove ending \n from each logging message
Revision
1.76 -
(
view)
(
annotate)
-
[select for diffs]
Thu Dec 18 03:23:48 2025 UTC
(2 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.75: +4 -4 lines
Diff to
previous 1.75
Do not monitor EPOLLRDHUP / POLLRDHUP, since POLLRDHUP is not supported by MSYS2.
Revision
1.74 -
(
view)
(
annotate)
-
[select for diffs]
Thu Dec 18 02:17:39 2025 UTC
(2 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.73: +37 -7 lines
Diff to
previous 1.73
Add handling of error events (EPOLLRDHUP | EPOLLHUP | EPOLLERR)
Revision
1.67 -
(
view)
(
annotate)
-
[select for diffs]
Mon Nov 17 06:41:18 2025 UTC
(3 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.66: +87 -8 lines
Diff to
previous 1.66
Add --with-epoll to configure to switch between epoll and poll
Revision
1.66 -
(
view)
(
annotate)
-
[select for diffs]
Mon Nov 17 02:32:42 2025 UTC
(3 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.65: +97 -69 lines
Diff to
previous 1.65
Optimize epoll handling to avoid repeated create / close
Modify several extern variables to static
Cleanup more server-side variables after fork of client process
Revision
1.64 -
(
view)
(
annotate)
-
[select for diffs]
Wed Nov 5 02:48:48 2025 UTC
(4 months, 1 week ago)
by
sysadm
Branch:
MAIN
Changes since
1.63: +8 -7 lines
Diff to
previous 1.63
Use enum / const int instead of macro define constant integers
Use const char * instead of macro define for constant strings
Revision
1.61 -
(
view)
(
annotate)
-
[select for diffs]
Tue Nov 4 05:24:09 2025 UTC
(4 months, 1 week ago)
by
sysadm
Branch:
MAIN
Changes since
1.60: +71 -57 lines
Diff to
previous 1.60
Fix bug: remaining input data in SSH read buffer could not be detected by epoll_wait on STDIN
Add stdin_read_wait to indicate the last read state in igetch()
When stdin_read_wait = 1, ssh_channel_read_nonblocking / read will be performed directly without check with epoll_wait
Revision
1.60 -
(
view)
(
annotate)
-
[select for diffs]
Mon Oct 20 01:55:50 2025 UTC
(4 months, 3 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.59: +9 -4 lines
Diff to
previous 1.59
Do not apply //IGNORE or //TRANSLIT if tocode and fromcode is the same
Revision
1.59 -
(
view)
(
annotate)
-
[select for diffs]
Sun Oct 19 13:13:07 2025 UTC
(4 months, 3 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.58: +8 -2 lines
Diff to
previous 1.58
Passthrough input sequence recognized as invalid by iconv() with "//IGNORE" applied
Revision
1.57 -
(
view)
(
annotate)
-
[select for diffs]
Sun Oct 19 02:42:19 2025 UTC
(4 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.56: +8 -8 lines
Diff to
previous 1.56
Fix bug in igetch():
1) conv output buffer should be double size of input buffer
2) stop read if input buffer is full
Revision
1.56 -
(
view)
(
annotate)
-
[select for diffs]
Sun Oct 19 01:30:38 2025 UTC
(4 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.55: +56 -10 lines
Diff to
previous 1.55
Copy terminal control sequence directly without invoking iconv()
Revision
1.55 -
(
view)
(
annotate)
-
[select for diffs]
Sat Oct 18 05:02:15 2025 UTC
(4 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.54: +107 -26 lines
Diff to
previous 1.54
Add user preferred charset selection and conversion
Revision
1.53 -
(
view)
(
annotate)
-
[select for diffs]
Fri Oct 17 01:25:08 2025 UTC
(4 months, 4 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.52: +1 -1 lines
Diff to
previous 1.52
No longer use igetch_reset() to skip remaining \n after \r
\r\n -> \r and \n -> \r conversions have already been implemented in igetch()
Revision
1.52 -
(
view)
(
annotate)
-
[select for diffs]
Thu Oct 16 12:11:31 2025 UTC
(5 months ago)
by
sysadm
Branch:
MAIN
Changes since
1.51: +2 -1 lines
Diff to
previous 1.51
Return 0 on empty input from SSH connection, to keep consistent with Telnet connection
Revision
1.51 -
(
view)
(
annotate)
-
[select for diffs]
Wed Jul 2 09:07:35 2025 UTC
(8 months, 2 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.50: +12 -6 lines
Diff to
previous 1.50
Convert \r\n to \r to avoid duplicate change line in editor
Revision
1.50 -
(
view)
(
annotate)
-
[select for diffs]
Sat Jun 28 11:31:17 2025 UTC
(8 months, 2 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.49: +6 -0 lines
Diff to
previous 1.49
Convert input LF to CR, since some terminal such as Cterm send LF without CR
Revision
1.48 -
(
view)
(
annotate)
-
[select for diffs]
Fri Jun 27 13:01:24 2025 UTC
(8 months, 2 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.47: +96 -95 lines
Diff to
previous 1.47
Do not create epoll and perform io control if buffer is not empty
Revision
1.30 -
(
view)
(
annotate)
-
[select for diffs]
Tue May 13 02:19:15 2025 UTC
(10 months ago)
by
sysadm
Branch:
MAIN
Changes since
1.29: +51 -14 lines
Diff to
previous 1.29
Refine prints / outc, flush buffer while no enough free space
Revision
1.26 -
(
view)
(
annotate)
-
[select for diffs]
Sun May 11 04:09:08 2025 UTC
(10 months ago)
by
sysadm
Branch:
MAIN
Changes since
1.25: +16 -1 lines
Diff to
previous 1.25
Change getch to non-blocking
Refine select parameter
Remove sleep
Revision
1.23 -
(
view)
(
annotate)
-
[select for diffs]
Sat May 10 11:09:02 2025 UTC
(10 months, 1 week ago)
by
sysadm
Branch:
MAIN
Changes since
1.22: +1 -1 lines
Diff to
previous 1.22
Refact tcplib
Refine handling of user input timeout
Revision
1.21 -
(
view)
(
annotate)
-
[select for diffs]
Fri May 9 11:21:11 2025 UTC
(10 months, 1 week ago)
by
sysadm
Branch:
MAIN
Changes since
1.20: +21 -33 lines
Diff to
previous 1.20
Refact signal handler and processing implementation
Refine select error handling
Revision
1.16 -
(
view)
(
annotate)
-
[select for diffs]
Wed Apr 30 09:18:19 2025 UTC
(10 months, 2 weeks ago)
by
sysadm
Branch:
MAIN
Changes since
1.15: +1 -0 lines
Diff to
previous 1.15
Add missing header files
Update compile dependency
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.