Skip to content

Feat/chunked transfer - #64

Merged
Bernardusz merged 2 commits into
feat/connection-lifecyclefrom
feat/chunked-transfer
Jul 17, 2026
Merged

Feat/chunked transfer#64
Bernardusz merged 2 commits into
feat/connection-lifecyclefrom
feat/chunked-transfer

Conversation

@Bernardusz

Copy link
Copy Markdown
Owner

No description provided.

- Added getter and setters (chunkSize() and withChunkSize()) for default size per chunk
- Changed maxBodySize from int to long to align with HTTP's spec
- Added method to check the sending method of client/sender
- Make sure calling body() family method only throws Levtus' internall exceptions
- Added chunked reading capability in LevtusInputStream and made sure Request is compatible
- Made it so LevtusIOException extends DeveloperException
- Added needed test

Note: Skipped trailer support for transfer encoding, as it is rarely used and doesn't align with Levtus' microservice needs
- Added HttpProtocol parser inside HttpParser to determine the protocol version (1.0/1.1)
- Added capability for Levtus to accept connection close without waiting for timeout
- Fixed bugs where methods call themselves in LevtusContext
@github-project-automation github-project-automation Bot moved this to Backlog in Levtus Jul 17, 2026
@Bernardusz
Bernardusz merged commit 9aefa7d into feat/connection-lifecycle Jul 17, 2026
1 of 3 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Levtus Jul 17, 2026
@Bernardusz
Bernardusz deleted the feat/chunked-transfer branch July 17, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant