Skip to content
New issue

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

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

Already on GitHub? # to your account

increase line buffer size #130

Closed
Michael-M-Baron opened this issue Aug 6, 2024 · 1 comment · Fixed by #135
Closed

increase line buffer size #130

Michael-M-Baron opened this issue Aug 6, 2024 · 1 comment · Fixed by #135
Assignees

Comments

@Michael-M-Baron
Copy link
Collaborator

The line buffer size is set to 64 * 1024 * 1024 = 64MiB per default. Japi-Requests with more bytes will fail and cause the error

ERROR: Maximum line size of 67108864 bytes exceeded!

However, for some applications like transferring data to the server increased line sizes would be needed. The line size can be adjusted with redefining CREADLINE_MAX_LINE_SIZE to the desired value.

@Michael-M-Baron
Copy link
Collaborator Author

I temporarily fixed the line size to 1GiB.

However, the line size is depending on the user application and should be somehow adjustable when including the library (With a setter function, with config files, etc.) and not by changing the source software.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant