Hello, !
+ + \ No newline at end of file diff --git a/src/main/resources/templates/logout.html b/src/main/resources/templates/logout.html new file mode 100644 index 0000000..b2c0f25 --- /dev/null +++ b/src/main/resources/templates/logout.html @@ -0,0 +1,16 @@ + + + + +Running | +Enabled | +Name | +Local host | +Local port | +Remote host | +Remote port | +Manage | +
+ |
+ |
+ Name | +Local host | +Local port | +Remote host | +Remote port | +
+
+
+ |
+
+ Add proxy +
+ + + \ No newline at end of file diff --git a/src/test/java/ru/bvn13/JProxyTest.java b/src/test/java/ru/bvn13/JProxyTest.java index 3835396..d11d163 100644 --- a/src/test/java/ru/bvn13/JProxyTest.java +++ b/src/test/java/ru/bvn13/JProxyTest.java @@ -4,8 +4,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; -import ru.bvn13.jproxy.JProxy; -import ru.bvn13.jproxy.ProxyServer; +import ru.bvn13.jproxy.engine.ProxyServer; import java.io.DataInputStream; import java.io.DataOutputStream; @@ -29,11 +28,11 @@ public class JProxyTest "Host: yandex.ru\n" + "Accept-Language: en-us\n" + "Accept-Encoding: gzip, deflate\n" + - "Connection: Keep-Alive"; + "Connection: Keep-Alive\n"+ + "\n"; @Before public void before() { - //proxy = new ProxyServer(8099, "yandex.ru", 80); } @Test