rsocket / rsocket-kotlin

RSocket Kotlin multi-platform implementation
http://rsocket.io
Apache License 2.0
552 stars 37 forks source link

Remove usages of deprecated in ktor APIs #250

Closed whyoleg closed 8 months ago

whyoleg commented 8 months ago

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

github-actions[bot] commented 8 months ago

Test Results

  699 files  ±0    699 suites  ±0   31m 54s :stopwatch: + 4m 51s 2 179 tests ±0  1 958 :white_check_mark: +1  220 :zzz: ±0  1 :x:  - 1  4 562 runs  ±0  4 049 :white_check_mark: +1  512 :zzz: ±0  1 :x:  - 1 

For more details on these failures, see this check.

Results for commit 67da0ee7. ± Comparison against base commit 37315f87.

:recycle: This comment has been updated with latest results.