baidu / Jprotobuf-rpc-socket

Protobuf RPC是一种基于TCP协议的二进制RPC通信协议的Java实现
Apache License 2.0
530 stars 221 forks source link

无效端口判断应该是小于最小,大于最大吧 #54

Open feiadan opened 5 years ago

feiadan commented 5 years ago

https://github.com/baidu/Jprotobuf-rpc-socket/blob/e84f36301ef97a73c9b8e41aa2a00773e7f32fe6/jprotobuf-rpc-core/src/main/java/com/baidu/jprotobuf/pbrpc/utils/NetUtils.java#L126-L134

xiemalin commented 5 years ago

该问题是一个bug, 会在下一个版本修复,感谢反馈

xiemalin commented 5 years ago

已修复 版本 3.5.19

feiadan commented 5 years ago

已修复 版本 3.5.19

貌似没有修复额

xiemalin commented 5 years ago

https://github.com/baidu/Jprotobuf-rpc-socket/blob/e84f36301ef97a73c9b8e41aa2a00773e7f32fe6/jprotobuf-rpc-core/src/main/java/com/baidu/jprotobuf/pbrpc/utils/NetUtils.java#L126-L134