hev
hev
There is another dns proxy for Android 4.3+. It's supports running standalone or JNI built-in Android application. and select dns servers by policy (client uid to dns servers). Thank you...
基于iptables + network classifier cgroup的,用于实现per app的TCP、DNS重定向,支持子进程自动继承,实现更简单。 具体实现:https://hev.cc/2813.html
上次说到kqueue上用level-trigger,如果是一直将fd保留在kqueue的话,可能会遇到event触发但不能处理的情况。比如,fd0可读,但这时正陷入fd1写等待,kevent会一直因fd0 read ready返回。 上次是说模拟了edge-trigger的行为,没有看到对应的代码。 不过看文档kevent也是支持edge-trigger的,应该就是 EV_CLEAR,不知道为何没用?
Hi, 在实现一个独立栈的协程,之所以没有使用共享栈,主要还是优先考虑的切换开销,不过实现中允许协程任务创建时指定栈大小,不必每个任务相同大小,一定程度上缓解浪费吧。但是,如果估算太小,当然是有栈溢出的风险的。 那么,到底有没有既能不浪费内存,又能减少切换开销的栈解决方法呢? 代码仓库:https://github.com/heiher/hev-task-system
# Proposal Some architectures, such as LoongArch, do not support copy relocation and are not expected to support it in the future. Consequently, regardless of whether the relocation model is...
There are two UDP relay modes in HevSocks5Tunnel: ### UDP relay over UDP This is the standard way for UDP relay of RFC 1928. Use this mode for any socks5...
Fixes #23003
This PR aims to add basic support for LoongArch64. Currently only LLVM is available. It depends on - [x] TheDan64/inkwell#420 (waiting new release) - [x] Amanieu/corosensei#17 - [ ] Bump...
在Arch Linux的GNOME Shell桌面环境上,GNOME版本是45,窗口系统是Wayland。切换至IBus Rime引擎的中文输入模式,当按下大写锁定键后,输入法切换至了英文输入模式,且大写锁定指示灯亮起,此时输入字母却仍为小写。 该问题在操作系统软件包某次升级后出现,具体是哪个软件包暂时没有时间排查,但通过版本回退实验可以确定的不是`ibus-rime`和`librime`。高度怀疑是GNOME桌面环境的某个软件包。 通过修改 ibus-rime 源代码实验,发现在中文输入模式按下大写锁定后,IBusRimeEngine的`process_key_event`接收到的`keyval`已是大写键值,但应用输入框接收显示出来的却仍是小写。在`process_key_event`函数中还发现如果被rime处理掉的按键事件会返回`TRUE`,这应该意味着该按键事件不再继续向后传递。有了一个猜测:是因为这个原因导致了后续的节点没有感知到大写锁定的按键事件。于是就有了以下的补丁:即使Rime处理了大写锁定事件,也返回`FALSE`使其继续向后传递。下面的补丁可以解决上述问题。 https://github.com/heiher/ibus-rime/commit/b609cf077f478a9c0a968390adc91ccf88bc3c9d ```diff diff --git a/rime_engine.c b/rime_engine.c index 4e08960..ddb74a2 100644 --- a/rime_engine.c +++ b/rime_engine.c @@ -523,6 +523,9 @@ ibus_rime_engine_process_key_event (IBusEngine *engine, gboolean result...