On Aug 1, 8:02 pm, kracks <kirthikai....RemoveThis@gmail.com> wrote:
> Hi,
> We have a http client in and we are passing the request from web page
> to web server(boa)
>
> My difficulty is :
> In webpage if i click the button once and if i send http request
> (GET test1_be.cgi)
> I get HTTP ok.
>
> When i sent for the second time from the same page by clicking
> another button (GET test1_be.cgi)
> TCP RST bit is set and i am not getting any communication from web
> server
>
> 1.000000 192.168.0.134 192.168.0.183 HTTP POST /test1_be.cgi HTTP/1.1 > (application/x-www-form-urlencoded)Continuation or non-HTTP traffic>
> 2 0.000359 192.168.0.183 192.168.0.134 TCP http > ies-lm [ACK] Seq=1 > Ack=403 Win=6432 Len=0>
> 3 0.960839 192.168.0.183 192.168.0.134 TCP [TCP segment of a > reassembled PDU]>
> 4 0.961771 192.168.0.183 192.168.0.134 HTTP HTTP/1.1 200 OK (text/ > html)
> 5 0.961799 192.168.0.134 192.168.0.183 TCP ies-lm > http [ACK] Seq=403 > Ack=387 Win=65150 [TCP CHECKSUM INCORRECT] Len=0
> 6 3.266599 192.168.0.134 192.168.0.183 HTTP POST /test1_be.cgi HTTP/> 1.1 (application/x-www-form-urlencoded)Continuation or non-HTTP
> traffic
> 7 3.266952 192.168.0.183 192.168.0.134 TCP http > ies-lm [RST] Seq=387 > Win=0 Len=0
> 8 6.854010 192.168.0.134 192.168.0.183 TCP interhdl_elmd > http [SYN]> Seq=0 Win=65535 Len=0 MSS=1460
>
> Curious to know why TCP bit is set
>
> Suggest me
When the second connection come, the server find that it is the same
socket, so the server consider the first connection does not closed
normaly, the server will send a RST packet to client(first
connection). for more information, see <<TCP/IP Illustrated Volume1:
The Protocols>> chapter 18.7.3