fc
fc
这个地方原本的判断是类型完全相等,其实如果实际传入的类型是参数类型的子类,是可以直接赋值的,不需要再做转换。 这个问题是在我们公司的项目改造Excel导入数据时发现的,excel中有一列是特殊的时间字符串,之后我们使用了Hutool的DateTime类型做了导入的变量解析和保存,之后调用到这个方法时,由于DateTime为Date的子类,进入到转换流程,造成转换异常。
Fix buffer size calculation in resolve_streams and resolve_stream functions. `sizeof(buffer)` returns the byte size of buffer, not the number of elements it contains. This should be modified to `sizeof(buffer) /...
When connecting using the websocket protocol, if the username or password is empty, it will crash.
**Describe the bug** When connecting using the websocket protocol, if the username or password is empty, it will crash. **To Reproduce** Use any MQTT client at will (such as MQTTX),...