Commit graph

18 commits

Author SHA1 Message Date
Kovid Goyal
af83d855de
Add a framework for easily and securely using remote control from the main function of a custom kitten 2024-09-29 20:36:12 +05:30
Kovid Goyal
fdc3c3d7c1
kitten @: Fix a regression connecting to TCP sockets using plain IP addresses rather than hostnames
Fixes #7794
2024-08-27 18:30:51 +05:30
Kovid Goyal
dbeb31b7ad
... 2024-05-18 08:44:09 +05:30
Kovid Goyal
c72ff568c5
Micro-optimization
Start the background process immediately and use a zero timer only if
executing the process fails, thereby guaranteeing ordering without
imposing a delay on process start.
2024-05-18 08:34:01 +05:30
Kovid Goyal
a9924d2ab7
oops 2024-05-17 22:45:52 +05:30
Kovid Goyal
9e3b49ab84
Micro-optimization 2024-05-17 22:36:09 +05:30
Kovid Goyal
a661f00651
Fix the previous fix
Store pending responses since the parser can call HandleDCS multiple
times in a single Read()
2024-05-17 22:27:17 +05:30
Kovid Goyal
703068f884
Fix packet coalescing over network transport causing remote control run over socket not working reliably 2024-05-17 22:18:04 +05:30
Kovid Goyal
64870af53f
simplify logic 2024-05-17 20:05:24 +05:30
Kovid Goyal
314fe4fe4a
Allow launched background process to work with --allow-remote-control
Use a dedicated socketpair for such processes. Fixes #6712
2023-10-18 19:56:58 +05:30
Kovid Goyal
7c41737370
Couple more errors found by linting 2022-11-14 15:42:01 +05:30
Kovid Goyal
fa7a6dfd4a
Implement stdin echo loop for socket i/o as well 2022-11-14 15:41:55 +05:30
Kovid Goyal
3a198833da
Simplify escape code wrapping 2022-11-14 15:41:55 +05:30
Kovid Goyal
bd1b3d9f6e
Implement streaming mode for socket IO 2022-11-14 15:41:54 +05:30
Kovid Goyal
364533b1ed
Work on supporting streaming remote commands with passwords 2022-11-14 15:41:54 +05:30
Kovid Goyal
a388a658ce
Fix payload update code in multi send commands 2022-11-14 15:41:54 +05:30
Kovid Goyal
b5e2871aa0
Remove not needed chunking code 2022-11-14 15:41:54 +05:30
Kovid Goyal
b2e610f9b1
Implement socket I/O 2022-11-14 15:41:52 +05:30