Open johanandren opened 3 years ago
Here it seems to send two pings in quick succession, the first one 1100ms after the last packet and the second one right after. So maybe the first one was late, but should that mean we send the next one immediately?
| [DEBUG] [12/16/2020 04:36:15.249] [Http2ClientSpec-akka.actor.default-dispatcher-3] [akka.stream.Log(akka://Http2ClientSpec/system/StreamSupervisor-0)] [DOWN] Element: 1 HEAD :method -> GET, :scheme -> , :authority -> , :path -> /, content-type -> application/octet-stream, user-agent -> akka-http/10.2.2+11-801dc222
| [DEBUG] [12/16/2020 04:36:15.249] [Http2ClientSpec-akka.actor.default-dispatcher-3] [Http2ClientDemux(akka://Http2ClientSpec)] Changing state from Idle to WaitingForData
| [DEBUG] [12/16/2020 04:36:15.250] [Http2ClientSpec-akka.actor.default-dispatcher-3] [akka.stream.Log(akka://Http2ClientSpec/system/StreamSupervisor-0)] [network-plain-text DOWN] Element: ByteString(54 bytes)
| 00 00 2D 01 04 00 00 00 01 82 46 00 81 84 5F 90 | ..-.......F..._.
| 1D 75 D0 62 0D 26 3D 4C 1C 89 2A 56 42 6C 28 E9 | .u.b.&=L..*VBl(.
| 7A 94 1F 5E A3 5A 74 A6 B6 02 05 C4 B8 BF D8 42 | z..^.Zt........B
| B3 C0 0C 84 10 85 | ......
| [DEBUG] [12/16/2020 04:36:16.352] [Http2ClientSpec-akka.actor.default-dispatcher-4] [Http2ClientDemux(akka://Http2ClientSpec)] Changing state from WaitingForData to Idle
| [DEBUG] [12/16/2020 04:36:16.352] [Http2ClientSpec-akka.actor.default-dispatcher-4] [akka.stream.Log(akka://Http2ClientSpec/system/StreamSupervisor-0)] [DOWN] Element: 0 PING 61 62 63 64 65 66 67 68
| [DEBUG] [12/16/2020 04:36:16.353] [Http2ClientSpec-akka.actor.default-dispatcher-4] [akka.stream.Log(akka://Http2ClientSpec/system/StreamSupervisor-0)] [network-plain-text DOWN] Element: ByteString(17 bytes)
| 00 00 08 06 00 00 00 00 00 61 62 63 64 65 66 67 | .........abcdefg
| 68 | h
| [DEBUG] [12/16/2020 04:36:16.355] [Http2ClientSpec-akka.actor.default-dispatcher-4] [Http2ClientDemux(akka://Http2ClientSpec)] Changing state from Idle to WaitingForData
| [DEBUG] [12/16/2020 04:36:16.356] [Http2ClientSpec-akka.actor.default-dispatcher-4] [Http2ClientDemux(akka://Http2ClientSpec)] Changing state from WaitingForData to Idle
| [DEBUG] [12/16/2020 04:36:16.356] [Http2ClientSpec-akka.actor.default-dispatcher-4] [akka.stream.Log(akka://Http2ClientSpec/system/StreamSupervisor-0)] [DOWN] Element: 0 PING 61 62 63 64 65 66 67 68
| [DEBUG] [12/16/2020 04:36:16.356] [Http2ClientSpec-akka.actor.default-dispatcher-4] [Http2ClientDemux(akka://Http2ClientSpec)] Changing state from Idle to WaitingForData
| [DEBUG] [12/16/2020 04:36:16.356] [Http2ClientSpec-akka.actor.default-dispatcher-4] [akka.stream.Log(akka://Http2ClientSpec/system/StreamSupervisor-0)] [network-plain-text DOWN] Element: ByteString(17 bytes)
| 00 00 08 06 00 00 00 00 00 61 62 63 64 65 66 67 | .........abcdefg
| 68 | h
| [DEBUG] [12/16/2020 04:36:16.360] [pool-1-thread-1-ScalaTest-running-Http2ClientSpec] [WithLogCapturing(akka://Http2ClientSpec)] Logging finished for test [The Http/2 client implementation should support for configurable ping should send pings when there is an active but slow stream from client]
https://jenkins.akka.io:8498/job/akka-http-nightly/AKKA_VERSION=release-2.5,Node=akka-http-nightly-node,SCALA_VERSION=2.12.12,jdk=AdoptOpenJDK%208/lastCompletedBuild/testReport/akka.http.impl.engine.http2/Http2ClientSpec/The_Http_2_client_implementation_should_support_for_configurable_ping_should_send_pings_when_there_is_an_active_but_slow_stream_from_client/