We need your help with translations into your native language.

Former-commit-id: 80e748ff4a8f17fe38dd6707f7686bae2acfcbfe
This commit is contained in:
Gerasimos (Makis) Maropoulos 2017-10-26 06:40:52 +03:00
parent a5440153c1
commit 6607008054
3 changed files with 11 additions and 11 deletions

View File

@ -29,7 +29,7 @@ Not any new features or fixes (all reported bugs are fixed) in this version, jus
> Remember: If you don't want to keep the version checker and you're pretty sure that you will be able to keep your server up-to-date manually, then you can disable the auto updater via; `app.Run(..., iris.WithoutVersionChecker)`. > Remember: If you don't want to keep the version checker and you're pretty sure that you will be able to keep your server up-to-date manually, then you can disable the auto updater via; `app.Run(..., iris.WithoutVersionChecker)`.
## We need your help with translations into your native language. ## We need your help with translations into your native language
Iris needs your help, please think about contributing to the translation of the [README](README.md) and https://iris-go.com, you will be rewarded. Iris needs your help, please think about contributing to the translation of the [README](README.md) and https://iris-go.com, you will be rewarded.

View File

@ -1034,7 +1034,15 @@ The author of Iris is [@kataras](https://github.com/kataras), you can reach him
[List of all Contributors](https://github.com/kataras/iris/graphs/contributors) [List of all Contributors](https://github.com/kataras/iris/graphs/contributors)
Help this project to continue deliver awesome and unique features with the higher code quality as possible by donating any amount via [PayPal](https://www.paypal.me/kataras) or [BTC](https://iris-go.com/v8/donate)! Help this project to continue deliver awesome and unique features with the higher code quality as possible by donating any amount via [PayPal](https://www.paypal.me/kataras) or [BTC](https://iris-go.com/v8/donate).
For more information about contributing to the Iris project please check the [CONTRIBUTING.md file](CONTRIBUTING.md).
### We need your help with translations into your native language
Iris needs your help, please think about contributing to the translation of the [README](README.md) and https://iris-go.com, you will be rewarded.
Instructions can be found at: https://github.com/kataras/iris/issues/796
### 03, October 2017 | Iris User Experience Report ### 03, October 2017 | Iris User Experience Report

View File

@ -24,14 +24,6 @@ func TestProxy(t *testing.T) {
t.Fatalf("%v while parsing url", err) t.Fatalf("%v while parsing url", err)
} }
// p := host.ProxyHandler(u)
// transport := &http.Transport{
// TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
// }
// p.Transport = transport
// proxySrv.Downgrade(p.ServeHTTP)
// go proxySrv.Run(iris.Addr(":80"), iris.WithoutBanner, iris.WithoutInterruptHandler)
proxy := host.NewProxy("", u) proxy := host.NewProxy("", u)
addr := &net.TCPAddr{ addr := &net.TCPAddr{
@ -68,7 +60,7 @@ func TestProxy(t *testing.T) {
t.Fatalf("%v while creating tcp4 listener for new tls local test listener", err) t.Fatalf("%v while creating tcp4 listener for new tls local test listener", err)
} }
// main server // main server
go app.Run(iris.Listener(httptest.NewLocalTLSListener(l)), iris.WithoutBanner) go app.Run(iris.Listener(httptest.NewLocalTLSListener(l)), iris.WithoutVersionChecker, iris.WithoutStartupLog)
e := httptest.NewInsecure(t, httptest.URL("http://"+listener.Addr().String())) e := httptest.NewInsecure(t, httptest.URL("http://"+listener.Addr().String()))
e.GET("/").Expect().Status(iris.StatusOK).Body().Equal(expectedIndex) e.GET("/").Expect().Status(iris.StatusOK).Body().Equal(expectedIndex)