Kangping

Results 137 comments of Kangping

@caipiblack 1. Could you show the output of command `ip6tables -vL` on your Border Router? 2. Could you confirm that forwarding is enabled for both ipv6 and ipv4? 3. Where...

@caipiblack Looks like OTBR firewall feature is enabled, can you try re-building with `-DOT_FIREWALL=OFF`?

>echo "2" > /proc/sys/net/ipv6/conf/all/accept_ra >echo "64" > /proc/sys/net/ipv6/conf/all/accept_ra_rt_info_max_plen I think you need to use specific interface for the two configurations: ``` echo "2" > /proc/sys/net/ipv6/conf/BR_LAN/accept_ra echo "64" > /proc/sys/net/ipv6/conf/BR_LAN/accept_ra_rt_info_max_plen ```

@caipiblack yeah, this seems to be a OpenWRT version issue :)

@jinran-google Should we remove the `FactoryReset` API if it's not used any more?

We need to refactor the inheritance to avoid pointer casting.

> root@raspberrypi:/home/pi/HP# root@raspberrypi:/home/pi/HP# root@raspberrypi:/home/pi/HP# [ 2852.636081] Under-voltage detected! (0x00050005) > >root@raspberrypi:/home/pi/HP# [ 2902.556290] Under-voltage detected! (0x00050005) > >root@raspberrypi:/home/pi/HP# root@raspberrypi:/home/pi/HP# @Hard1kPrajapati This may affect the connection between `otbr-agent` and the RCP...

It doesn't _disallow_ pipelining, it just doesn't _support_ it. I guess I did make the assumption that the browser won't use pipelining then. I will check the parse error soon.

1. 是专用的写法,不是通用的;在已知key的总数的时候,这样写可以避免动态内存分配; 2. 这是可能的,在同一个连接中,一般浏览器在前一个请求的回复没有收到前,不会发送下一个请求;这反之,就是pipelining;pipelining的效率显然更高(但我最开始没有支持),请看issue 5和issue 10的讨论; 4. 调 _g\_pid()_ 是为了在PID文件缺失的情况下新建该文件;_daemon()_ 是unix系统函数; 5. 确实是bug; 6. 确实atoi应该接受C-string,但是在这两个场景中,atoi不需要依靠‘\0’来标志convertion的结束,因为这两个digit sequence的后面都接有非digit的字符(否则request会提前返回error,这两处也就不会执行到了),因此atoi会提前结束;我应该写一些注释的;像request.c的322行,就是必须C-string的例子。 7. 有设置吧,在 **_case URI\_S\_PORT:_** 里面;

你测5的时候炸掉,应该是6的问题造成的。😓,没想到还有这么明显的bug没有测出来。parse那一段确实有许多问题,我自己也很久没有维护这个project了。你可以尝试改掉这个bug给我PR~