Commit Graph

23 Commits (281e2f00463d7c7947cc37344ddab9d2dff3409d)

Author SHA1 Message Date
M. Efe Çetin 281e2f0046
v3 (feature): merge Listen methods & ListenConfig (#1930)
*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

* fix tests

* improve graceful shutdown

* update

* Start -> Listen

* rename test funcs.

* Add Test_Listen_Graceful_Shutdown test.

* add OnShutdownSuccess

* fix tests

* fix tests

* split listen & listener

* typo

* Add retry logic to tests

* Add retry logic to tests

* Add retry logic to tests

* Add retry logic to tests

Co-authored-by: René Werner <rene@gofiber.io>
2022-09-08 07:57:05 +02:00
Muhammed Efe Çetin 319b8ea3a8
Merge remote-tracking branch 'origin/master' into v3-beta 2022-09-03 23:56:45 +03:00
M. Efe Çetin cbfcac2c0a
🐛 bug: remove prefork support from custom listeners (#2060)
* 🐛 bug: remove prefork support from custom listeners

* Update listen_test.go
2022-08-30 13:01:24 +02:00
M. Efe Çetin 4d28b1e200
🐛 bug: make tlsHandler public to use it with Listener (#2034)
* 🐛 bug: ClientHelloInfo support for app.Listener

* 🐛 bug: ClientHelloInfo support for app.Listener

* fix

* make tlshandler public

* update

* 🐛 bug: make tlsHandler public to use it with Listener #2034

Co-authored-by: wernerr <rene@gofiber.io>
2022-08-24 09:47:37 +02:00
Muhammed Efe Çetin 4105b008c2
Merge remote-tracking branch 'origin/master' into v3-beta 2022-08-19 14:33:31 +03:00
Thomas 2edcf95f57
update: tls.ClientHelloInfo in Ctx (#2011)
* Update go.mod

* wip

* wip

* wip

* wip

* wip

* Move tlsHandler from Config to App

* Use NewError instead of panic

* Add a test with ServerName

* Add some tests on ClientHelloInfo

* fix missing import

* remove unnecessary ctx field.

Co-authored-by: RW <rene@gofiber.io>
Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
2022-08-19 08:19:22 +02:00
M. Efe Çetin 6669ec4486
📝 docs: gofmt & add missing copyright texts (#2013) 2022-08-15 20:25:26 +02:00
Maxi_Mega 4f7816774b
🎨 Add black colors to default overriding function (#1993)
* Fix padding around app name in startup message when it contains non-ascii characters

* fix conflict, allow ending space only for odd length strings

* move startup message tests to listen_test.go

* add black color to defaultColors overriding function, fix (again) padding in startupMessage
2022-08-02 14:23:14 +02:00
Maxi_Mega e49880c5d6
🎨 Fix padding around app name in startup message when containing non-ascii characters (#1987)
* Fix padding around app name in startup message when it contains non-ascii characters

* fix conflict, allow ending space only for odd length strings

* move startup message tests to listen_test.go
2022-08-01 13:16:49 +03:00
M. Efe Çetin 4103f9463d
feature: customizable colors (#1977)
*  feature: customizable colors

*  feature: customizable colors

*  feature: customizable colors
2022-08-01 08:24:37 +02:00
Fenny 1e7df547ba Clean up repository 2020-02-10 01:24:59 +01:00
Fenny 62fa147dd1 Fix links 2020-02-08 04:56:57 +01:00
Fenny c68e58a381 Cleanup project directory 2020-02-08 01:05:13 +01:00
Fenny cd8803f818 Disable listen_test.go for now 2020-02-07 00:43:16 +01:00
Fenny 885605b873 Add Shutdown
Shutsdown server gracefully
2020-02-07 00:27:50 +01:00
Fenny 406cfe67d5 Release Test function for Fiber 2020-02-06 21:34:36 +01:00
Fenny bd2e034c49 Minor optimizations 2020-02-05 02:53:07 +01:00
Fenny cbfc9eb98c Fix goreportcard 2020-02-03 14:27:35 +01:00
Fenny f6489b7405 Deprecated messages, linting, nosec, typo's 2020-02-03 13:40:50 +01:00
Vic Shóstak 18e7fcfc35 Huge refactoring, Add dummy CORS middleware 2020-02-01 19:42:40 +03:00
Fenny 29091a54b4 Bump v1.2.2 2020-01-31 15:19:57 -05:00
Fenny 31876e3109 v1.0.2 2020-01-22 05:42:37 +01:00
Fenny 2730e0c2ff v1.0.0-pre-release 2020-01-20 04:33:55 +01:00