# Wireshark 驗證 http keepliave on/off ## Case 1 : http 1.1 with keepalive 1. 用wireshark開啟pcap檔案 2. 於上方輸入'http' 瀏覽http packets  3. 點選呼叫特定api的封包 可看到header 內有keepalive,但沒有connection: close  4. 於封包右鍵點選follow http stream   可看到單一http stream中含有許多http get request 5. 於封包右鍵點選follow tcp stream   可看到單一tcp stream中含有許多http get request ## Case 2 : http 1.1 witout keepalive 1. 用wireshark開啟pcap檔案 2. 於上方輸入'http' 瀏覽http packets  3. 點選呼叫特定api的封包 可看到header內沒有keepalive,且加上了connection: close  4. 於封包右鍵點選follow http stream   可看到單一http stream僅有一筆http request 5. 於封包右鍵點選follow tcp stream   可看到單一tcp stream中僅有一筆http get request
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up