<commit_before>### Migration Tasks

- [ ] HttpRequest: reuse of HttpRequestInfo
- [ ] HttpResponse: reuse of HttpResponseInfo
- [x] migrate DateTime to UnixTime/CivilTime
- [x] backport PosixScheduler changes from stx
- [x] make use of MonotonicTimer/Clock
- [x] fix logging
- [x] compose SafeCall over inheritance
- [x] threading: revive basic threaded non-blocking
- [x] threading: revive `SO_REUSEPORT`
- [x] revive `max_read_idle`
- [x] revive `max_write_idle`
- [x] revive `tcp_fin_timeout`
- [x] revive `tcp_cork`
- [x] revive `tcp_nodelay`
- [ ] revive `lingering`
- [ ] revive `max_connections`
- [x] pull InputStream/OutputStream API from stx (away from istream/ostream)?
- [ ] (make thread safe) File::lastModified()
- [ ] how to convert from UnixTime to CivilTime to get the current
- [ ] FileRef to be renamed to FileHandle/FileHandle or alike?
- [x] (flow) String interpolation doesn't allow function calls without ()'s.
      Example: "Welcome on ${sys.hostname}" is not working,
      but the: "Welcome on ${sys.hostname()}" is working.
- [ ] (flow) `var x = call1 + '.' + call2;` not working. fix me.
- [ ] revive HTTP client side abort notification API

### Proxy Plugin

- [x] HttpClient: basic HTTP client API with generic transport layer (HTTP1, ...)
- [ ] HttpClient: support FastCGI
- [ ] HttpClient: support UNIX domain socket alongside with TCP/IP
- [ ] flow-api: `proxy.http(ipaddr, port)`
- [ ] flow-api: `proxy.fcgi(ipaddr, port)`
- [x] HttpClusterScheduler
- [x] HttpClusterScheduler::RoundRobin
- [x] HttpClusterScheduler::Chance
- [ ] HttpClusterMember, proxies to HttpClient, with constraints (such as capacity)
- [ ] HttpCluster: basic load balancing to HTTP/1 upstreams
- [ ] HttpHealthCheck: monitor an HTTP upstream (transport protocol independant)

### Feature Stories

- [ ] port director plugin, yeah
- [ ] port stx::HTTPConnectionPool into HttpClient / HttpClientProxy
- [ ] x0d-signals: graceful shutdown (INT, TERM)
- [ ] x0d-signals: logfile rotating (HUP)
- [ ] x0d-signals: all the others (USR1, USR2, ...?)<commit_msg>todo items updates<commit_after>### Migration Tasks

- [ ] access to Scheduler API from within HttpRequest or XzeroContext;
      consider merging `Scheduler` and `Executor`;
      consider using `Scheduler` instead of `Executor` in net and http code;
- [ ] (flow) tag flow handlers to never return (aka. always handle),
      thus, enabling the compiler to give a warning on dead code after
      this handler.
- [ ] HttpRequest: reuse of HttpRequestInfo
- [ ] HttpResponse: reuse of HttpResponseInfo
- [x] migrate DateTime to UnixTime/CivilTime
- [x] backport PosixScheduler changes from stx
- [x] make use of MonotonicTimer/Clock
- [x] fix logging
- [x] compose SafeCall over inheritance
- [x] threading: revive basic threaded non-blocking
- [x] threading: revive `SO_REUSEPORT`
- [x] revive `max_read_idle`
- [x] revive `max_write_idle`
- [x] revive `tcp_fin_timeout`
- [x] revive `tcp_cork`
- [x] revive `tcp_nodelay`
- [ ] revive `lingering`
- [ ] revive `max_connections`
- [x] pull InputStream/OutputStream API from stx (away from istream/ostream)?
- [ ] (make thread safe) File::lastModified()
- [ ] how to convert from UnixTime to CivilTime to get the current
- [ ] FileRef to be renamed to FileHandle/FileHandle or alike?
- [x] (flow) String interpolation doesn't allow function calls without ()'s.
      Example: "Welcome on ${sys.hostname}" is not working,
      but the: "Welcome on ${sys.hostname()}" is working.
- [ ] (flow) `var x = call1 + '.' + call2;` not working. fix me.
- [ ] revive HTTP client side abort notification API
- [ ] console logger to also log timestamps, can be disabled (enabled by default)

### Proxy Plugin

- [x] HttpClient: basic HTTP client API with generic transport layer (HTTP1, ...)
- [ ] HttpClient: support FastCGI
- [ ] HttpClient: support UNIX domain socket alongside with TCP/IP
- [ ] flow-api: `proxy.http(ipaddr, port)`
- [ ] flow-api: `proxy.fcgi(ipaddr, port)`
- [x] HttpClusterScheduler
- [x] HttpClusterScheduler::RoundRobin
- [x] HttpClusterScheduler::Chance
- [ ] HttpClusterMember, proxies to HttpClient, with constraints (such as capacity)
- [ ] HttpCluster: basic load balancing to HTTP/1 upstreams
- [ ] HttpHealthCheck: monitor an HTTP upstream (transport protocol independant)

### Feature Stories

- [ ] port director plugin, yeah
- [ ] port stx::HTTPConnectionPool into HttpClient / HttpClientProxy
- [ ] x0d-signals: graceful shutdown (INT, TERM)
- [ ] x0d-signals: logfile rotating (HUP)
- [ ] x0d-signals: all the others (USR1, USR2, ...?)
{'fraction_non_alphanumeric': 0.12270341207349081, 'fraction_numerical': 0.003937007874015748, 'mean_word_length': 4.115212527964206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1002427', 'n_tokens_mistral': 1488, 'n_tokens_neox': 1423, 'n_words': 507}