author | phh |
Sat, 30 Nov 2019 14:33:05 -0800 | |
changeset 59330 | 5b96c12f909d |
parent 51232 | ad1fa1db73d9 |
permissions | -rw-r--r-- |
51232
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
1 |
/* |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
2 |
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
4 |
* |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
8 |
* |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
13 |
* accompanied this code). |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
14 |
* |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
18 |
* |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
21 |
* questions. |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
22 |
*/ |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
23 |
|
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
24 |
/* |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
25 |
* @test |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
26 |
* @bug 8207960 |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
27 |
* @modules java.net.http/jdk.internal.net.http |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
28 |
* @summary Non-negative WINDOW_UPDATE increments may leave the stream window size negative |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
29 |
* @run testng/othervm java.net.http/jdk.internal.net.http.WindowControllerTest |
ad1fa1db73d9
8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
chegar
parents:
diff
changeset
|
30 |
*/ |