不灭的火

加密类型:SHA/AES/RSA下载Go
复合类型:数组(array)、切片(slice)、映射(map)、结构体(struct)、指针(pointer、函数(function)、接口(interface)、通道(channel) Go类型
引用类型:切片(slice)、映射(map)、指针(pointer、函数(function)、通道(channel) Go引用

作者:AlbertWen  添加时间:2020-09-19 23:30:18  修改时间:2025-11-12 00:43:27  分类:22.Python编程  编辑

多线程连接数据,提交增改查请求,爆出:

Packet sequence number wrong - got 7 expected 2(数据包序列号错误)

解决办法:

在请求时加上互斥锁或者每个线程单独创建连接对象