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
Nikolay Kim
fde55ffa14
revert generic request parameter for service; support ServerConfig as new factory config
2019-03-09 09:49:11 -08:00
Nikolay Kim
aadcdaa3d6
add resource map, it allow to check if router has resource and it allows to generate urls for named resources
2019-03-09 07:39:34 -08:00
Nikolay Kim
6e638129c5
use generic HttpService
2019-03-06 23:06:14 -08:00
Nikolay Kim
fe22e83144
refactor service registration process; unify services and resources
2019-03-06 15:47:15 -08:00
Nikolay Kim
03248028a9
update actix-service
2019-03-05 10:08:08 -08:00
Nikolay Kim
2e79562c9d
add HttpServer type
2019-03-04 16:29:03 -08:00
Nikolay Kim
8a058efb4e
move server protocol impl to submodule
2018-01-11 18:35:05 -08:00
Nikolay Kim
f802fe09e6
fix context poll
2018-01-07 17:13:49 -08:00
Nikolay Kim
71da72efdb
use general context impl
2018-01-06 22:59:39 -08:00
Nikolay Kim
3ed9e872ad
subscriber to os signals automatically
2018-01-05 16:32:36 -08:00
Nikolay Kim
5ff35f5b99
upgrade to actix 0.4
2018-01-05 13:30:21 -08:00
Nikolay Kim
9559f6a175
introduce IoStream trait for low level stream operations
2018-01-03 23:41:55 -08:00
Nikolay Kim
1f7aee23df
shutdown io streams before exit
2018-01-03 22:43:44 -08:00
Nikolay Kim
3d3e4dae9a
refactor IntoHttpHandler trait
2017-12-29 11:33:04 -08:00
Nikolay Kim
538fea8027
add graceful shutdown system
2017-12-28 16:25:47 -08:00
Nikolay Kim
3f4898a6d1
add StopWorker message
2017-12-28 13:07:29 -08:00
Nikolay Kim
6a2bb9a473
split worker code to separate module
2017-12-28 12:38:37 -08:00
Nikolay Kim
783e19c1bf
fix RequestSession impl for HttpRequest
2017-12-28 11:43:45 -08:00
Nikolay Kim
d80a0c9f94
add support for unix signals
2017-12-28 11:36:20 -08:00
Nikolay Kim
556de72932
add server spawn method
2017-12-27 17:49:10 -08:00
Nikolay Kim
4d741b4de5
Fix typos
2017-12-27 13:26:31 -08:00