-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
在对大数据传输的特殊处理后完成测试,发现server端会崩溃,通过反复对比正常的Log和
逐步添加打印的方式找到存在空指针的位置,修复之。再次测试,发现不能传输文件。后来发现 在src/subs.c的_sub_process函数中遇到阻塞就返回导致传输文件未完成。进而分析出多个客户端 时mosquitto发送的方式。去掉此处的return即可完成传输。但试验中仍发现一个问题:平板接收时, server端持续发送,而其发送剩余量却不改变。这个问题在手机上没发现,而在平板上出现,具体原因 不详。对当前传输的方式仍有待进一步优化,详看我的图书馆
- Loading branch information
Allanceng
committed
Dec 30, 2014
1 parent
553ac7e
commit 809274e
Showing
3 changed files
with
37 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters