summaryrefslogtreecommitdiffhomepage
path: root/src/java (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-28Java: fixed the calculation related to the response buffer.Zhidao HONG1-3/+4
We need to take into account the size of the nxt_unit_response_t structure itself when calculating where to start appending data to in memory. Closes: <https://github.com/nginx/unit/issues/923> Reported-by: Alejandro Colomar <alx@kernel.org> Reviewed-by: Andrew Clayton <a.clayton@nginx.org> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2022-10-03Renamed a couple of members of nxt_unit_request_t.Andrew Clayton1-10/+10
This is a preparatory patch that renames the 'local' and 'local_length' members of the nxt_unit_request_t structure to 'local_addr' and 'local_addr_length' in preparation for the adding of 'local_port' and 'local_port_length' members. Suggested-by: Zhidao HONG <z.hong@f5.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2022-04-26Fixed indentation.Alejandro Colomar1-1/+1
Some lines (incorrectly) had an indentation of 3 or 5, or 7 or 9, or 11 or 13, or 15 or 17 spaces instead of 4, 8, 12, or 16. Fix them. Found with: $ find src -type f | xargs grep -n '^ [^ ]'; $ find src -type f | xargs grep -n '^ [^ *]'; $ find src -type f | xargs grep -n '^ [^ ]'; $ find src -type f | xargs grep -n '^ [^ *]'; $ find src -type f | xargs grep -n '^ [^ +]'; $ find src -type f | xargs grep -n '^ [^ *+]'; $ find src -type f | xargs grep -n '^ [^ +]'; $ find src -type f | xargs grep -n '^ [^ *+]';
2021-12-27Java: fixing multiple SCI initializations.Max Romanov1-4/+15
- Ignoring Tomcat WebSocket container initialization. - Renaming application class loader to UnitClassLoader to avoid development environment enablement in Spring Boot. This closes #609 issue on GitHub.
2020-11-06Java: fixing ClassGraph deprecated API call.Max Romanov1-1/+1
The issue (deprecated API warning) introduced by ClassGraph upgrade in ccd5c695b739 commit.
2020-10-30Java: supporting jsp-file attribute for servlet.Max Romanov1-0/+66
This closes #487 issue on GitHub.
2020-10-14Java: response locale methods implemented.Max Romanov1-3/+18
This closes #479 issue on GitHub.
2020-03-30Attributing libunit logging function for arguments validation.Max Romanov1-2/+2
2020-03-12Introducing readline function in libunit.Max Romanov1-24/+4
Ruby and Java modules now use this function instead of own implementations.
2020-03-03Java: fixing Spring applications start.Max Romanov1-1/+1
This closes #403 issue on GitHub.
2019-09-05Java: introducing websocket support.Max Romanov110-56/+15184
2019-08-14Java: implementing multipart message support.Max Romanov4-14/+192
This closes #265 issue on GitHub.
2019-06-28Java: adding Content-Type response header for static files.Max Romanov1-0/+1
2019-05-30Java: fixing typo in context initialization.Max Romanov1-1/+1
2019-05-30Java: fixing request scheme using 'tls' flag.Max Romanov2-2/+6
2019-03-21Adjusting request schema value according to connection tls state.Max Romanov2-2/+21
This closes #223 issue on GitHub.
2019-03-11Style.Andrey Zelenkov1-3/+3
2019-03-01README.JSR-340 legal notice to save our ughm.. bottoms of bodies.Valentin Bartenev1-0/+16
2019-02-28Introducing Java Servlet Container beta.Max Romanov39-0/+10102