Skip to content

Changes

Started by upstream project gerrit-osmo-ttcn3-hacks #4214
Started 12 hr ago
Queued 6.3 sec
Add close function to HTTP_Server_Emulation

If we want to simulate a broken HTTP request towards the client, we may
wait until the client times out. This results in closing the TCP
connection by the client. It then results in failure of the SSL
connection at Titan's Abstract_Socket component. The TTCN3-tests fails.

One solution is to actively close the connection via a close function.
The client will not wait for the timeout. The Abstact_Socket will then
not receive any failure. The test runs faster.

Related: SYS#8101
Change-Id: Id09976800c7498a7173b5d8911fe545504cfa266
Andreas Eversberg at