Skip to content

Commit 0c753e6

Browse files
AXIS2-6103 Fix remaining initialWindowSize inconsistencies and invalid JSON samples
Address Gemini review findings: - Update WildFly guide: http/https listener examples and summary table still had 131072 (128KB), now 2097152 (2MB) - Update http2-integration-guide: protocol selection example had 32768, now 2097152 - Fix invalid JSON in Spring Boot userguide samples: unquoted string values and non-standard email domain (use user@example.org per RFC 2606)
1 parent 876e806 commit 0c753e6

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/site/xdoc/docs/http2-integration-guide.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ modules/
226226
<transportSender name="h2" class="org.apache.axis2.transport.h2.impl.httpclient5.H2TransportSender">
227227
<parameter name="PROTOCOL">HTTP/2.0</parameter>
228228
<parameter name="maxConcurrentStreams">100</parameter>
229-
<parameter name="initialWindowSize">32768</parameter>
229+
<parameter name="initialWindowSize">2097152</parameter>
230230
</transportSender>
231231
</pre>
232232

src/site/xdoc/docs/json-springboot-tomcat11-userguide.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ curl -v -H "Content-Type: application/json" -X POST --data @login.dat http://loc
454454
Where the contents of login.dat are:
455455
</p>
456456
<pre>
457-
{"doLogin":[{"arg0":{"email":java-dev@axis.apache.org,"credentials":userguide}}]}
457+
{"doLogin":[{"arg0":{"email":"user@example.org","credentials":"userguide"}}]}
458458
</pre>
459459
<p>
460460
Response:

src/site/xdoc/docs/json-springboot-userguide.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ curl -v -H "Content-Type: application/json" -X POST --data @login.dat http://loc
355355
Where the contents of login.dat are:
356356
</p>
357357
<pre>
358-
{"doLogin":[{"arg0":{"email":java-dev@axis.apache.org,"credentials":userguide}}]}
358+
{"doLogin":[{"arg0":{"email":"user@example.org","credentials":"userguide"}}]}
359359
</pre>
360360
<p>
361361
Response:

src/site/xdoc/docs/wildfly-http2-integration-guide.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ large-payload workloads. See
9797
enable-http2="true"
9898
http2-enable-push="false"
9999
http2-header-table-size="8192"
100-
http2-initial-window-size="131072"
100+
http2-initial-window-size="2097152"
101101
http2-max-concurrent-streams="75"
102102
http2-max-frame-size="65536"
103103
http2-max-header-list-size="32768"
@@ -116,7 +116,7 @@ large-payload workloads. See
116116
enable-http2="true"
117117
http2-enable-push="false"
118118
http2-header-table-size="8192"
119-
http2-initial-window-size="131072"
119+
http2-initial-window-size="2097152"
120120
http2-max-concurrent-streams="75"
121121
http2-max-frame-size="65536"
122122
http2-max-header-list-size="32768"
@@ -180,7 +180,7 @@ large-payload workloads. See
180180
<table border="1">
181181
<tr><th>Parameter</th><th>Production Value</th><th>Optimization Purpose</th></tr>
182182
<tr><td>buffer-size</td><td>65536 (64KB)</td><td>Aligned with Enhanced Moshi H2 processing</td></tr>
183-
<tr><td>http2-initial-window-size</td><td>131072 (128KB)</td><td>Optimized for 50MB+ JSON payloads</td></tr>
183+
<tr><td>http2-initial-window-size</td><td>2097152 (2MB)</td><td>Avoids flow-control round trips on large responses</td></tr>
184184
<tr><td>http2-max-frame-size</td><td>65536 (64KB)</td><td>Consistent buffer alignment across layers</td></tr>
185185
<tr><td>http2-max-concurrent-streams</td><td>75</td><td>Memory-constrained optimization</td></tr>
186186
<tr><td>receive-buffer</td><td>4194304 (4MB)</td><td>Large payload handling</td></tr>

0 commit comments

Comments
 (0)