Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usages of deprecated in ktor APIs #250

Merged
merged 1 commit into from
Mar 2, 2024
Merged

Conversation

whyoleg
Copy link
Member

@whyoleg whyoleg commented Feb 28, 2024

ChunkBuffer and a lot of other things in ktor-io are deprecated for removal in favour of kotlinx-io in ktor 2.3.3 (actual version is 2.3.8).
Still, at this point ktor itself doesn't provide any integration yet even in ktor 3.0 releases.
So this PR Introduces BufferPool as a placeholder for something that will (or will not) available after migration to ktor 3.0 and kotlinx-io. BufferPool is used internally (in tests) to test for leaks.

Depends on: #247, #244

Copy link

github-actions bot commented Feb 28, 2024

Test Results

  699 files  ±0    699 suites  ±0   31m 54s ⏱️ + 4m 51s
2 179 tests ±0  1 958 ✅ +1  220 💤 ±0  1 ❌  - 1 
4 562 runs  ±0  4 049 ✅ +1  512 💤 ±0  1 ❌  - 1 

For more details on these failures, see this check.

Results for commit 67da0ee. ± Comparison against base commit 37315f8.

♻️ This comment has been updated with latest results.

Base automatically changed from extract-internal-io to master March 2, 2024 08:13
* introduce BufferPool as a placeholder for something that will (or will not) available after migration to ktor 3.0 and kotlinx-io
@whyoleg whyoleg merged commit 61459a6 into master Mar 2, 2024
0 of 25 checks passed
@whyoleg whyoleg deleted the ktor-deprecation branch March 2, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants