Guangming Li
Guangming Li
example:convert opf to mobi
测试条件: - 禁用Mux - 禁用websocket - 开启TLS - 使用shadowsocks加密 问题代码: https://github.com/p4gefau1t/trojan-go/blob/master/tunnel/tls/server.go#L142 修改代码: ``` log.Info("tls connection ReadRequest 0") httpReq, err := http.ReadRequest(r) log.Info("tls connection ReadRequest 1") ``` 日志: ``` [TRACE] 2020/07/17...
quinn 的默认传输参数 max_concurrent_bidi_streams 和 max_concurrent_uni_streams 都是100. 测试 upd quic 连续发送 99 个后就无法继续传输了,发送 auth 使用一个。 https://github.com/quinn-rs/quinn/blob/ae4be5a22cf63caf300c04cc4f1a701aff46b6ce/quinn-proto/src/config.rs#L256-L257
服务端错误日志: ``` [2022-07-11T08:02:10Z INFO ] Server started. Listening: 0.0.0.0:8000 [2022-07-11T08:02:13Z INFO ] [127.0.0.1:56703] [associate] [2889866911] [2022-07-11T08:02:13Z WARN ] [127.0.0.1:56703] [udp-session] [2889866911] Invalid argument (os error 22) ``` 客户端日志: ``` [2022-07-11T08:02:08Z...
测试 native 模式下直接截断为1147, quic 模式下无响应。 因为 quic 协议的 max_datagram_frame_size 限制,quinn 里大概是 1162。 https://github.com/quinn-rs/quinn/blob/46f9a57d3b274bc84aa34cf69d20a574938fe81f/quinn-proto/src/connection/datagrams.rs#L58
https://github.com/p4gefau1t/trojan-r/blob/23be088495137ee0aa6c79b6a55018263b507c8c/src/protocol/direct/connector.rs#L24 此时创建的是 AF_INET6 socket,此时将数据发送至 IPv4 地址会失败,错误是 udp_relay error: Invalid Argument (os error 22) 解决方法:创建两个socket(IPv4+IPv6)?
DOUAudioFile.h ``` @protocol DOUAudioFile @required - (NSURL *)audioFileURL; @optional - (NSURL *)cachedFileURL; - (DOUAudioFilePreprocessor *)audioFilePreprocessor; @end ``` _DOUAudioRemoteFileProvider ``` - (instancetype)_initWithAudioFile:(id )audioFile { self = [super _initWithAudioFile:audioFile]; if (self) {...
https://github.com/XTLS/Xray-core/blob/ed9b99cfc82b3a211f51e321ae330aa62ba9119d/transport/internet/websocket/hub.go#L131-L138
remove mantle deprecated implementations fix setValue:forUndefinedKey bug