equal
deleted
inserted
replaced
24 /** |
24 /** |
25 * @test |
25 * @test |
26 * @bug 6270015 |
26 * @bug 6270015 |
27 * @run main/othervm Test1 |
27 * @run main/othervm Test1 |
28 * @run main/othervm -Dsun.net.httpserver.maxReqTime=10 Test1 |
28 * @run main/othervm -Dsun.net.httpserver.maxReqTime=10 Test1 |
|
29 * @run main/othervm -Dsun.net.httpserver.nodelay=true Test1 |
29 * @summary Light weight HTTP server |
30 * @summary Light weight HTTP server |
30 */ |
31 */ |
31 |
32 |
32 import com.sun.net.httpserver.*; |
33 import com.sun.net.httpserver.*; |
33 |
34 |
40 * Tests: |
41 * Tests: |
41 * - client/server |
42 * - client/server |
42 * - send/receive large/small file |
43 * - send/receive large/small file |
43 * - chunked encoding |
44 * - chunked encoding |
44 * - via http and https |
45 * - via http and https |
|
46 * |
|
47 * The test is also run with sun.net.httpserver.nodelay simply to exercise |
|
48 * this option. There is no specific pass or failure related to running with |
|
49 * this option. |
45 */ |
50 */ |
46 |
51 |
47 public class Test1 extends Test { |
52 public class Test1 extends Test { |
48 |
53 |
49 static SSLContext ctx; |
54 static SSLContext ctx; |