☎️ Ktor 2.2.4 Release: Takes On Communication Bugs

Tom Smykowski
3 min readMar 16, 2023

A popular Kotlin web framework got rid of some annoying communication bugs with the release of Ktor 2.2.4 making API requsts more developer friendly

Ktor is a popular Kotlin based web framework that makes it possible to build a connected application with minimal effort. Ktor is an asynchronous framework for building web apps, microservices, and other things. But even the most robust software can fall victim to bugs, which is why the Ktor development team has recently rolled out a series of bug fixes designed to enhance the framework’s functionality and improve user experience. Let’s take a closer look at some of the recent bug fixes.

⌚ Connect Timeout Is Now Respected When Using The HttpRequestRetry Plugin

The connectTimeoutMillis is not respected and the HttpRequestRetry plugin starts retrying requests. In addition, if the HttpTimeout plugin is installed after HttpRequestRetry the requestTimeoutMillis is not respected as well. This issue has been resolved in the latest release.

🏪 Improved URL Parsing For HTTP Client Requests

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.

No responses yet