Commit graph

4883 commits

Author SHA1 Message Date
Nikolay Kim
d39611d246
Clippy warnings (#382) 2024-07-16 22:13:33 +02:00
Nikolay Kim
2cbc42730b Fix clippy warnings 2024-07-16 21:14:53 +02:00
Nikolay Kim
1c5ab68df6
Expose TetServer::stop() method (#381) 2024-07-16 21:03:38 +02:00
Nikolay Kim
1331a6eadb Prep release 2024-06-27 19:22:33 +05:00
Nikolay Kim
192bdc8537
Shutdown service on error and on worker shutdown (#376) 2024-06-27 19:19:15 +05:00
Nikolay Kim
e3dd4b3908
Add task::yield_to() helper (#375) 2024-06-26 16:12:27 +05:00
Nikolay Kim
0255df9f16
Fix handling of connection header #370 (#373) 2024-06-22 13:50:17 +02:00
Nikolay Kim
e0b5284fdd
More tests (#368) 2024-05-29 20:30:14 +05:00
Nikolay Kim
34142e1ae2
Fix handling not consumed request's payload (#367) 2024-05-29 18:29:49 +05:00
Nikolay Kim
9c29de14cf
Fix handling payload timer after payload got consumed (#366) 2024-05-29 17:42:18 +05:00
Nikolay Kim
3b49828e5f
Use async fn for Service::ready() and Service::shutdown() (#364) 2024-05-28 19:26:08 +05:00
Nikolay Kim
c52db3fd10
Re-enable BufferService (#365) 2024-05-28 18:12:24 +05:00
Nikolay Kim
b04bdf41f6
Use async fn for Service::ready() and Service::shutdown() (#363) 2024-05-28 16:55:08 +05:00
Nikolay Kim
dec6ab083a
Use "async fn" for Service::ready() and Service::shutdown() methods (#361) 2024-05-28 16:37:16 +05:00
msga-mmm
d8f55decb0
test: improve test coverage (#358)
* test(ntex-util): incrase time module coverage

* test(middleware): increase coverage in defaultheaders

* test(middleware/compress): improve test coverage
2024-05-13 13:41:26 +05:00
Nikolay Kim
55dcad5f27
Better write back-pressure handling (#359) 2024-05-12 18:39:16 +05:00
msga-mmm
33c8900172
test: improve coverage in client builder and time types (#357) 2024-05-10 09:25:13 +02:00
msga-mmm
1b3a530fb7
fix(github-actions): use rust toolchain arm64 version for macos 14 (#355)
* fix(osx): use rust toolchain arm version for macos 14

* feat(ntex-bytes): remove conflicting serde feature flag
2024-05-05 10:16:13 +02:00
msga-mmm
49a4867005
test(web): improve coverage for route and default errors (#354)
* test(web/error): validate TimeoutError::Service status_code

* test(web/error): validate Utf8Error returns BAD_REQUEST status

* test(web/error): validate PayloadError::EncodingCorrupted returns BAD_REQUEST

* test(web/route): validate Route debug format

* test(web/route): validate Route and RouteService debug format

* test(web/route): avoid lambda in tests to keep coverage
2024-05-05 04:39:51 +02:00
Nikolay Kim
33490cd360
Fix KeepAlive timeout handling in default dispatcher (#351) 2024-05-01 17:50:31 +05:00
Nikolay Kim
316f9083d1
Change Extensions::insert() method according doc #345 (#347) 2024-04-29 15:11:04 +05:00
Nikolay Kim
c9c85f219b
Fix h2 tests (#348) 2024-04-29 14:32:26 +05:00
Nikolay Kim
c60e7f52b7
Move more code under mpool feature (#342) 2024-04-08 12:28:42 +05:00
Nikolay Kim
ec8eb23707
Glommio clippy (#341) 2024-04-08 11:55:49 +05:00
Pavlos-Petros Tournaris
a858394855
Refresh GitHub workflows (#337)
* Add .idea in .gitignore

* Refresh Github workflows

* Allow very complex type usage in ntex-rt
2024-04-07 22:42:16 +05:00
Nikolay Kim
0b73ae8fa8
Make memory pools optional (#340) 2024-04-04 22:04:37 +05:00
Nikolay Kim
9bd05487de
Use tokio Handle if available (#339) 2024-04-04 21:14:41 +05:00
Nikolay Kim
395cf694e5 Remove unused dep 2024-04-02 18:08:55 +05:00
Nikolay Kim
975f64cc44
Fix memory pool waiters management (#334) 2024-04-02 18:06:49 +05:00
Paolo Barbolini
351f69919a
fix(cargo): broken repo url for ntex-bytes (#333) 2024-04-02 17:52:39 +05:00
Nikolay Kim
cfc348764a
Fix external configuration handling (#332) 2024-04-02 01:18:44 +05:00
Nikolay Kim
7e2e3d1730
Add IoRef::is_wr_backpressure() method (#331) 2024-03-31 13:40:03 +03:00
Nikolay Kim
d6feeec933
Fix signals support #324 2024-03-30 09:03:36 +01:00
Nikolay Kim
f8d03f1c8e
Fix glommio compat feature #327 2024-03-30 08:48:03 +01:00
Nikolay Kim
baca449ba4
Add Connect::map_addr() helper method (#326) 2024-03-29 21:48:11 +01:00
Nikolay Kim
18d3516343
Fix windows signals support (#325) 2024-03-29 20:56:19 +01:00
Nikolay Kim
0e21f46210
Feature gate brotli2 encoder (#321) 2024-03-28 10:56:36 +01:00
Sergey Vilgelm
d3499feb80
Move the websocket code to a separate ws feature (#320) 2024-03-28 10:00:43 +01:00
Nikolay Kim
4ed6712ac4
Add signals support (#316) 2024-03-25 12:10:57 +01:00
Nikolay Kim
20a53c3fd1
Server::build() method (#315) 2024-03-24 16:15:42 +01:00
Nikolay Kim
baabcff4a6
Refactor ntex-connect (#314) 2024-03-24 15:33:08 +01:00
Andrey Voronkov
5414e2096a
Update rustls to 0.23.x (#311)
* ntex-tls: update rustls

* ntex-connect: update rustls to 0.23.x

* ntex: update rustls to 0.23.x

---------

Co-authored-by: Andrey Voronkov <andrey.voronkov@sbermarket.ru>
2024-03-24 07:24:29 +01:00
Nikolay Kim
b71cad76bf
Move ntex::server to ntex-server (#313) 2024-03-23 22:18:50 +01:00
Nikolay Kim
d393d87164
Refactor worker management (#312) 2024-03-23 07:17:04 +01:00
Nikolay Kim
ca16e4a5e4
Prep release (#309) 2024-03-12 19:38:37 +06:00
Nikolay Kim
0786d3302d Fix typo 2024-03-12 17:55:36 +05:00
Nikolay Kim
30ba29d18a Clippy (#308) 2024-03-12 17:53:28 +05:00
Nikolay Kim
5d4da464ac Update ntex-h2 dep 2024-03-12 17:53:28 +05:00
Nikolay Kim
3bd15f633f Fix h1 encoder error 2024-03-12 17:53:28 +05:00
Nikolay Kim
b15f393140 Make EncodeError Send + Sync (#306) 2024-03-12 17:53:28 +05:00