Ask Your Question
0

Multiple connections on single stream

asked 2020-04-18 20:23:39 +0000

mf17 gravatar image

I'm a beginner yet with network, and probably that question is stupid but i can't understand. It is possible a stream has more than one http requests? I have a stream with 8 http resquests and their responses. I have aditional information below conversation with 8 client pkts, 8 server pkts, 15 turns.

Can someone explain me that?

Kind regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-19 08:00:42 +0000

Jaap gravatar image

Assuming by stream you mean TCP stream, then yes, this is quiet normal. Simply because of efficiency, why would you want to tear down the TCP connection and setup a new one to put the next request in? That would be similar to calling someone, ask a question, hanging up and calling again for the next question. There's even a process called HTTP pipelining that puts all requests in before even waiting for an answer, although it's outlived its time I guess.

edit flag offensive delete link more

Comments

Hello! Thank your very much! Yes i'm refering TCP streams. Probably this happening because i tried to make a test of Sql Injection in work context and in this test i sent one request and server returns database errors and i change request and sent with some differences until obtain a "correct" response. Probably, on every error response, the connection is not closed and when i sent another request, the data going on same connection. That's it?

mf17 gravatar imagemf17 ( 2020-04-25 16:52:02 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-04-18 20:23:39 +0000

Seen: 832 times

Last updated: Apr 19 '20