{"push_id":3864703629,"size":3,"distinct_size":2,"ref":"refs/heads/timeout","head":"adbeaeee8424c7cda7984925cdeb3cdf84d6ec55","before":"ee6fa5d5e8975b702fb88af9421eaa9c03989f20","commits":[{"sha":"d62af8747043bcf5193ff59d47df5faf3ea4f8c1","author":{"name":"Pushkar N Kulkarni","email":"4b9a6319a5410b67ac45938365906c627943c162@in.ibm.com"},"message":"Update Kitura-NIO version (#44)\n\n* Update Kitura-NIO version\r\n\r\n* Fix warnings","distinct":false,"url":"https://api.github.com/repos/IBM-Swift/Kitura-WebSocket-NIO/commits/d62af8747043bcf5193ff59d47df5faf3ea4f8c1"},{"sha":"08ce719d28194e0ed082c25c3c04d8bbe9b50c87","author":{"name":"Pushkar Kulkarni","email":"4b9a6319a5410b67ac45938365906c627943c162@in.ibm.com"},"message":"Add automatic stale connection cleanup\n\nMotivation:\n\nOn Kitura-WebSocket https://github.com/IBM-Swift/Kitura-WebSocket/pull/48/\nintroduces an automatic connection cleanup feature. Using this,\n`WebSocketService`s can configure an optional timeout value. If a connection\nremains idle for half of the configured timeout value, the server sends a\nheartbeat ping to the client. In a following time period equal to\nhalf of the configured timeout value, if a pong is received on the connection,\nthe latter is kept alive. If not, the connection is closed.\n\nIn `Kitura-WebSocket-NIO`, we implement this using the `IdleStateHandler` which\nis configured with half of the configured timeout value. When we receive the\nfirst `IdleStateEvent`, we send a heartbeat ping to the client. If a pong is\nreceived before the next `IdleStateEvent`, the connection is kept alive. If the\nnext `IdleStateEvent` is received before the pong, the connection is closed.\n\nThis commit also includes a new client framework for testing. It is difficult\nto write the connection cleanup tests using the existing adhoc WebSocket client\nframework implemented in `KituraTest.swift` and `KituraTest+Frames.swift`. The\nnew client framework is called `WebSocketClient`. It uses a callback model and\nis largely work-in-progress. We must move all of the existing tests to the new\nframework in due time.","distinct":true,"url":"https://api.github.com/repos/IBM-Swift/Kitura-WebSocket-NIO/commits/08ce719d28194e0ed082c25c3c04d8bbe9b50c87"},{"sha":"adbeaeee8424c7cda7984925cdeb3cdf84d6ec55","author":{"name":"Pushkar Kulkarni","email":"4b9a6319a5410b67ac45938365906c627943c162@in.ibm.com"},"message":"Log error and close channel on unknown error","distinct":true,"url":"https://api.github.com/repos/IBM-Swift/Kitura-WebSocket-NIO/commits/adbeaeee8424c7cda7984925cdeb3cdf84d6ec55"}]}
{"actor":{"display_login":"pushkarnk"}}