forked from clj-commons/aleph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Basic implementation for multipart chunks decoder * Convert in-memory and file upload Netty's attributes to maps * Correct implementation for reading chunks from body and offering them to decoder * Get content for file upload attribute * Prevent destroying to be called twice * Minor formatting changes * Test case to cover multipart decoder functionality * Do not try to get content type and transfer encoding for string attributes * Remove debug inspection * Read data from input stream, not only manifold stream * Test cases to cover both raw and ring handlers * Rename decoder, optional configuration, do not read file content to memory * Fix test cases to use new decoder name * Do not get attribute once again, use locally saved version * Flexible memory limit configuration * Reimplement stream processing using s/connect-via * Release chunk of request body after offering it to a decoder * Acquire buffer before reading content to the input stream to prevent failure on cleanup * Rewrite TODO comment
- Loading branch information
Showing
2 changed files
with
186 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters