2

i run a site that lets you record from your phone and post the audio to my apache2 server (it is an Amazon micro instance). however, every once in awhile the post doesn't go through successfully, the php multipart request handler script has a file that's either a size of 0 or sometimes a size of 32.

why could this be? it happens 1 in every 20 or 30 uploads, and i'd like it to happen for 0. any way I can prevent this?

4

2 回答 2

1

我不确定移动设备的连接有多“一致”,但如果用户带着它在城市里跑来跑去,它偶尔会失去连接并(立即)重新连接。很明显,这会破坏上传。

于 2011-01-15T00:31:54.100 回答
1

考虑在较低级别设置一些日志记录,例如网络服务器级别,甚至可能是 tcp/ip。比如,获取一个数据包嗅探器程序并让它记录一些东西。

于 2011-01-15T00:35:15.460 回答