MozTW 討論區 https://forum.moztw.org/ |
|
video stream(server push) 在關閉分頁後socket 不會斷 https://forum.moztw.org/viewtopic.php?f=2&t=24515 |
第 1 頁 (共 1 頁) |
發表人: | anson.all4u [ 2008-09-26, 21:56 ] |
文章主題 : | video stream(server push) 在關閉分頁後socket 不會斷 |
請問有沒有人遇過這樣的問題: 開新分頁後,連上用server push 技術的網頁(如IP WebCamera) 代碼: HTTP/1.0 200 OK\r\n
Content-Type: multipart/x-mixed-replace;boundary=myboundary\r\n \r\n --myboundary\r\n Content-Type: image/jpeg\r\n Content-Length: 15656\r\n \r\n <JPEG image data>\r\n --myboundary\r\n Content-Type: image/jpeg\r\n Content-Length: 14978\r\n \r\n <JPEG image data>\r\n --myboundary\r\n Content-Type: image/jpeg\r\n Content-Length: 15136\r\n \r\n <JPEG image data>\r\n --myboundary\r\n 結果關閉分頁後,發現這個connected socket沒斷 對方還是一直送資料出來 一直要等到把整個Firefox關閉才停 不知有沒有大大遇過這樣的問題 |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |