Commit Graph

26 Commits

Author SHA1 Message Date
Menghan Li 1e2bb717e0
doc: update keepalive ClientParameters doc about doubling the interval upon GOAWAY (#7469) 2024-08-20 10:10:37 -07:00
Doug Fawley ed70822b12 keepalive: apply minimum ping time of 10s to client and 1s to server (#2642)
* keepalive: apply minimum ping time of 10s to client and 1s to server

* review fixes
2019-02-21 13:09:37 -08:00
shaun e242249c0e comment typo: MaxConnectionAgeGrace(#2515) 2018-12-09 23:18:17 -08:00
Menghan Li ad6d187e37
keepalive: godoc improvement and behavior explanation (#2342) 2018-10-02 13:03:51 -07:00
Jan Tattermusch ddbf6c46a6 autofix license notice 2017-06-08 14:42:19 +02:00
Adele Zhou 7ddf89f9b7 Fix doc 2017-05-04 10:30:28 -07:00
MakMukhi b2fae0cf40 Implementation for server enforcement of keepalive policy. (#1147)
Implementation of server enforcement of keepalive policy.
Server will close connection with a client that violates this policy.
Policy parameters:
 - MinTime is the minimum amount of time a client should wait before sending a keepalive ping.
 - If PermitWithoutStream true, server expects keepalive pings even when there are no active streams(RPCs).
2017-03-31 11:37:51 -07:00
MakMukhi c3df40279c Support max age(#1119)
The new logic added to the server does the following:
- Gracefully closes an idle connection after a duration of keepalive.MaxConnectionIdle.
- Gracefully closes any connection after a duration of keepalive.MaxConnectionAge.
- Forcibly closes a connection after an additive period of keepalive.MaxConnectionAgeGrace over keepalive.MaxConnectionAge.
- Makes sure a connection is alive by sending pings with a frequency of keepalive.Time and closes a non-resposive connection after an additional duration of keepalive.Timeout.
2017-03-23 10:49:38 -07:00
Mahak Mukhi d9541d7591 post-review commit. 2017-03-22 15:24:17 -07:00
Mahak Mukhi 3c9df8ef7b Post review updates 2017-03-20 15:28:47 -07:00
Mahak Mukhi 82fb96a360 Rest of the implementation 2017-03-10 17:30:46 -08:00
Mahak Mukhi d9b58b5ce9 Initial commit 2017-03-09 15:33:28 -08:00
Mahak Mukhi 0d5b22c2a7 golint update 2017-03-07 18:12:58 -08:00
Mahak Mukhi 9d23576618 post-review update 2017-03-06 13:08:23 -08:00
Mahak Mukhi f22061907e post-review updates 2017-03-01 13:08:05 -08:00
Mahak Mukhi bc3cca9945 Implementation changes;Using an independent goroutine for keepalive checks. 2017-02-28 11:49:51 -08:00
Mahak Mukhi 0bdf059601 post review updates 2017-01-31 16:09:40 -08:00
Mahak Mukhi c8983baf3a const variable name change for goimports 2017-01-30 12:09:08 -08:00
Mahak Mukhi 5fcb58f02d post review updates 2017-01-30 11:32:54 -08:00
Mahak Mukhi 49d2a88c27 Comment formatting 2017-01-06 17:18:22 -08:00
Mahak Mukhi eeb6f5bade code cleaning 2017-01-06 16:52:37 -08:00
Mahak Mukhi 901cdf6fb5 Post review updates 2016-11-21 14:18:57 -08:00
Mahak Mukhi 97fb58a27f go tool vet again 2016-11-18 14:29:23 -08:00
Mahak Mukhi 45907c27fa go tool vet rectification 2016-11-18 14:23:08 -08:00
Mahak Mukhi 058907d033 refactored and rectified test failures 2016-11-18 13:55:04 -08:00
Mahak Mukhi e58450b5d3 Keepalive client-side implementation 2016-11-17 17:50:52 -08:00