Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
0fe1585a
Commit
0fe1585a
authored
Apr 24, 2018
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce buffer size when proxying
closes #713
parent
c2e6b41e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
InstancesProxyController.java
...ot/admin/server/web/servlet/InstancesProxyController.java
+1
-1
No files found.
spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/web/servlet/InstancesProxyController.java
View file @
0fe1585a
...
...
@@ -84,7 +84,7 @@ public class InstancesProxyController extends AbstractInstancesProxyController {
//otherwise the FrameworkServlet will add wrong Allow header for OPTIONS request
ClientResponse
clientResponse
=
super
.
forward
(
instanceId
,
uri
,
request
.
getMethod
(),
request
.
getHeaders
(),
()
->
BodyInserters
.
fromDataBuffers
(
DataBufferUtils
.
readInputStream
(
request:
:
getBody
,
this
.
bufferFactory
,
16384
))).
block
();
DataBufferUtils
.
readInputStream
(
request:
:
getBody
,
this
.
bufferFactory
,
4096
))).
block
();
response
.
setStatusCode
(
clientResponse
.
statusCode
());
response
.
getHeaders
().
addAll
(
filterHeaders
(
clientResponse
.
headers
().
asHttpHeaders
()));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment