Rob Ede
6bb33ec5db
use custom cloneany trait
2021-07-14 00:20:45 +01:00
Rob Ede
3b2e2acb6c
fix connection data on keep alive connections
2021-07-12 18:37:41 +01:00
Rob Ede
5a14ffeef2
clippy fixes ( #2296 )
2021-07-12 16:55:24 +01:00
Igor Aleksanov
262c6bc828
Various refactorings ( #2281 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Rob Ede
532f7b9923
refined error model ( #2253 )
2021-06-17 17:57:58 +01:00
Victor Pirat
75f65fea4f
Extends Rustls ALPN protocols instead of replacing them when creating Rustls based services ( #2226 )
2021-06-10 16:25:21 +01:00
fakeshadow
7d1d5c8acd
Expose SererBuilder::worker_max_blocking_threads ( #2200 )
2021-05-06 18:35:04 +01:00
Rob Ede
ddaf8c3e43
add associated error type to MessageBody ( #2183 )
2021-05-05 18:36:02 +01:00
Rob Ede
d8f56eee3e
bump service to stable v2
2021-04-16 20:28:21 +01:00
Rob Ede
c54a0713de
migrate integration testing to new crate ( #2112 )
2021-04-02 08:26:59 +01:00
Rob Ede
3188ef5731
don't use rust annotation on code doc blocks
2021-03-25 08:45:52 +00:00
Thomas de Zeeuw
9488757c29
Update to socket2 v0.4 ( #2092 )
2021-03-19 12:17:06 +00:00
fakeshadow
515d0e3fb4
change behavior of default upgrade handler ( #2071 )
2021-03-13 22:20:18 +00:00
Rob Ede
31d9ed81c5
change rustfmt line width to 96
2021-02-11 23:03:17 +00:00
Rob Ede
77efc09362
hide httpmessage mod
2021-02-11 22:58:40 +00:00
fakeshadow
41bc04b1c4
Use immutable reference of service state. Update awc dns resolver. ( #1905 )
2021-02-07 01:00:40 +00:00
fakeshadow
46b2f7eaaf
use a non leak pool for HttpRequestInner ( #1889 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-10 22:59:44 +00:00
Rob Ede
21f6c9d7a5
improve code readability
2021-01-04 00:49:02 +00:00
fakeshadow
32de9f8840
Tokio 1.0 ( #1813 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Aravinth Manivannan
fabc68659b
Intradoc links conversion ( #1827 )
...
* switching to nightly for intra-doc links
* actix-files intra-doc conversion
* more specific Result
* intradoc conversion complete
* rm blank comments and readme doc link fixes
* macros and broken links
2020-12-13 13:28:39 +00:00
Rob Ede
9963a5ef54
expose on_connect v2 ( #1754 )
...
Co-authored-by: Mikail Bagishov <bagishov.mikail@yandex.ru>
2020-10-30 02:03:26 +00:00
Rob Ede
9d0534999d
bump connect and tls versions ( #1655 )
2020-09-09 09:20:54 +01:00
Yuki Okushi
9a7f93610a
web: Replace net2
crate with socket2
2020-05-19 09:34:37 +09:00
Yuki Okushi
a98e53ecb8
web: Minimize futures
dependencies
2020-05-19 08:29:12 +09:00
Masayuki Nagamachi
6ab7cfa2be
Remove descriptions about undefined uds
feature from docs ( #1356 )
2020-02-16 04:18:31 +09:00
Nikolay Kim
6a0cd2dced
Rename HttpServer::start() to HttpServer::run()
2019-12-22 17:12:22 +04:00
Nikolay Kim
c7f3915779
update actix-service dep
2019-12-22 16:39:25 +04:00
Yuki Okushi
f45db1f909
Enable GitHub Actions and fix file URL behavior ( #1232 )
...
* Use GitHub Actions
* Fix unused imports on Windows
* Fix test for Windows
* Stop to run CI for i686-pc-windows-msvc for now
* Use `/` instead of `\` on Windows
* Add entry to changelog
* Prepare actix-files release
2019-12-22 16:43:41 +09:00
Nikolay Kim
a08d8dab70
AppConfig::secure() is always false. #1202
2019-12-20 16:04:51 +06:00
Nikolay Kim
131c897099
upgrade to actix-net release
2019-12-11 19:20:20 +06:00
Nikolay Kim
ef3a33b9d6
use std mutext instead of parking_lot
2019-12-10 09:00:51 +06:00
Sameer Dhar
e4382e4fc1
Fix broken docs ( #1204 )
...
Fixed un escaped brackets in lib.rs, and reflowed links to ConnectionInfo in app, config, and server.rs
2019-12-09 10:02:43 +06:00
Nikolay Kim
6c9f9fff73
clippy warnings
2019-12-08 00:46:51 +06:00
Nikolay Kim
8df33f7a81
remove HttpServer::run() as it is not useful with async/await
2019-12-08 00:06:04 +06:00
Nikolay Kim
ed2f3fe80d
use actix-net alpha.3 release
2019-12-07 12:28:26 +06:00
Nikolay Kim
205a964d8f
upgrade to tokio 0.2
2019-12-05 23:35:43 +06:00
Nikolay Kim
f4c01384ec
update to latest actix-net
2019-12-02 17:33:11 +06:00
Nikolay Kim
3127dd4db6
migrate actix-web to std::future
2019-11-21 16:02:17 +06:00
karlri
c659c33919
Feature uds: Add listen_uds to ServerBuilder ( #1085 )
...
Allows using an existing Unix Listener instead of binding to a path.
Useful for when running as a daemon under systemd.
Change-Id: I54a0e78c321d8b7a9ded381083217af590e9a7fa
2019-09-25 15:16:51 +06:00
Cyril Plisko
6f2049ba9b
Fix typo
2019-07-25 12:54:59 +01:00
Nikolay Kim
fbdda8acb1
Unix domain sockets (HttpServer::bind_uds) #92
2019-07-18 17:24:12 +06:00
Nikolay Kim
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
Vlad Frolov
801cc2ed5d
Cleaned unnecessary Option<_> around ServerBuilder in server.rs/HttpServer ( #863 )
2019-05-23 05:21:02 -07:00
Herbert Jones
e857ab1f81
HttpServer::shutdown_timeout u16 to u64 ( #849 )
...
Increase maximum graceful shutdown time from 18 hours.
For issue #848 .
2019-05-18 10:50:35 -07:00
Nikolay Kim
df08baf67f
update actix-net dependencies
2019-05-12 08:34:51 -07:00
Nikolay Kim
fbedaec661
add expect: 100-continue support #141
2019-04-05 16:46:44 -07:00
Nikolay Kim
c126713f40
add rustls support to HttpServer
2019-03-29 16:28:32 -07:00
Nikolay Kim
86405cfe7a
more tests
2019-03-12 22:57:09 -07:00
Nikolay Kim
eae48f9612
use server backlog
2019-03-11 15:26:05 -07:00
Nikolay Kim
c0ce7f0bae
update http service usage; add app host
2019-03-09 10:53:00 -08:00