看板 PangSir 關於我們 聯絡資訊
但是... 根據我手動對 www.csie.ntu.edu.tw 做 telnet 的結果 max 應該是代表單個connection 可處理幾個 request的數量 以下是我收到的訊息 : GET /OOXX.html HTTP/1.1 Connection: Keep-Alive User-agent: Mozilla/4.0 Host: www.csie.ntu.edu.tw HTTP/1.1 404 Not Found Date: Fri, 29 Apr 2005 06:39:19 GMT Server: Apache/1.3.33 (Unix) mod_auth_pam/1.1.1 mod_gzip/1.3.26.1a mod_ssl/2.8. 22 OpenSSL/0.9.7e PHP/4.3.11 Keep-Alive: timeout=15, max=149 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 117 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>404 Not Found</TITLE> </HEAD><BODY> <H1>Not Found</H1> The requested URL /OOXX.html was not found on this server.<P> <HR> <ADDRESS>Apache/1.3.33 Server at www.csie.ntu.edu.tw Port 80</ADDRESS> </BODY></HTML> 0 GET /OOXX.html HTTP/1.1 Connection: Keep-Alive User-agent: Mozilla/4.0 Host: www.csie.ntu.edu.tw HTTP/1.1 404 Not Found Date: Fri, 29 Apr 2005 06:39:21 GMT Server: Apache/1.3.33 (Unix) mod_auth_pam/1.1.1 mod_gzip/1.3.26.1a mod_ssl/2.8. 22 OpenSSL/0.9.7e PHP/4.3.11 Keep-Alive: timeout=15, max=148 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 117 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>404 Not Found</TITLE> </HEAD><BODY> <H1>Not Found</H1> The requested URL /OOXX.html was not found on this server.<P> <HR> <ADDRESS>Apache/1.3.33 Server at www.csie.ntu.edu.tw Port 80</ADDRESS> </BODY></HTML> 0 GET /OOXX.html HTTP/1.1 Connection: Keep-Alive User-agent: Mozilla/4.0 Host: www.csie.ntu.edu.tw HTTP/1.1 404 Not Found Date: Fri, 29 Apr 2005 06:39:22 GMT Server: Apache/1.3.33 (Unix) mod_auth_pam/1.1.1 mod_gzip/1.3.26.1a mod_ssl/2.8. 22 OpenSSL/0.9.7e PHP/4.3.11 Keep-Alive: timeout=15, max=147 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 117 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>404 Not Found</TITLE> </HEAD><BODY> <H1>Not Found</H1> The requested URL /OOXX.html was not found on this server.<P> <HR> <ADDRESS>Apache/1.3.33 Server at www.csie.ntu.edu.tw Port 80</ADDRESS> </BODY></HTML> 0 如果是最大可以容許的等待時間 那麼每次都遞減 顯得很不合理 並且... 我試著寫一個程式連續作這件事 發現不管是每次等兩秒再送request 或是連續不斷送request (等收到server response之後) server都會在第150個request結束後將連線關閉 以上 希望助教再檢查一下 -- 也許我們人類真的都是破壞的火焰 以自己期望人家的樣子 以自己以為人家的樣子 去改變別人 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.105
davidsky:push 140.112.242.77 04/29
lfst:不愧是又仁兄 (這裡叫綽號不太好)140.112.246.171 04/29
ReinInPtt:的確是...||140.112.246.173 04/30