kotlin-sdk/kotlin-sdk-server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pavel Gorgulov 8a7f9f8d31
fix(server): GET SSE stream crash on Netty in Streamable HTTP (#681)
`appendSseHeaders()` was called inside Ktor's `sse {}` block where
response headers are already committed. On Netty this throws
`UnsupportedOperationException`, killing the SSE stream and causing the
client to retry in a loop

## How Has This Been Tested?
unit, simple-streamable-server sample

## Breaking Changes
none

## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update

## Checklist
- [x] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [x] My code follows the repository's style guidelines
- [x] New and existing tests pass locally
- [x ] I have added appropriate error handling
- [ x] I have added or updated documentation as needed
2026-04-10 13:51:03 +02:00
..
api feat: add notification for elicitation complete (#667) 2026-04-02 12:37:33 +02:00
src fix(server): GET SSE stream crash on Netty in Streamable HTTP (#681) 2026-04-10 13:51:03 +02:00
build.gradle.kts feat(server): auto-install ContentNegotiation with McpJson (#664) (#665) 2026-04-02 11:01:13 +03:00
detekt-baseline-commonMainSourceSet.xml feat! Add context to server call handlers (#515) 2026-02-23 16:30:15 +02:00
detekt-baseline-main.xml feat(server): support configurable max request payload size (#646) 2026-04-01 13:57:17 +03:00
Module.md fix!: Migrate Ktor extension functions from Routing to Route (#237) (#531) 2026-02-18 16:43:37 +02:00