profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ernestas-poskus/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Ernestas Poskus ernestas-poskus http://out13.com pragmatic & ambitious

ernestas-poskus/ansible-prometheus 70

Ansible playbook for installing Prometheus monitoring system, exporters such as: node, snmp, blackbox, thus alert manager and push gateway

ernestas-poskus/ansible-nsq 6

NSQ realtime distributed messaging platform Ansible installation role

ernestas-poskus/ansible-anydeploy 3

Run local commands and deploy any file, directory or archive to specified deploy folder.

ernestas-poskus/ansible-cassandra 1

Ansible Cassandra playbook

ernestas-poskus/ansible-group_to_marathon 1

Ansible playbook for managing Apache Marathon groups of applications using API

ernestas-poskus/ansible-sshd-hosts 1

Ansible playbook to control /etc/hosts.allow & /etc/hosts.deny for sshd service.

ernestas-poskus/ansible-zookeeper 1

Ansible playbook for ZooKeeper

ernestas-poskus/alpackage 0

Docker alpine based container container with SSL and ability to pass extra packages to install through ENV

ernestas-poskus/ansible-app_to_marathon 0

Ansible role for creating apps for Marathon using /v2/ REST API

ernestas-poskus/ansible-arangodb 0

Ansible ArangoDB playbook

issue openedseanmonstar/reqwest

How to enable keepalive connections?

I'm trying to enable the keepalive of connections, netstats shows a new socket is opened every time, I've init the client with this code:

let mut headers = HeaderMap::new();
headers.insert(header::CONNECTION, HeaderValue::from_static("keep-alive"));
let client = ClientBuilder::new()
    .connection_verbose(true)
    .pool_idle_timeout(Some(Duration::from_secs(600)))
    .tcp_keepalive(Some(Duration::from_secs(30)))
    .default_headers(headers)
    .build()
    .unwrap();

Using wireshark I'm analyzing the connections, and I can't see the connection header passing. What am I doing wrong?

created time in 31 minutes

issue openedseanmonstar/reqwest

Feature Request: Add a way to get the default timeout

When building some requests I want to make sure that the timeout is big enough. To do this, I need to get the default timeout (so I don't accidentally make it smaller), however, it's not possible atm.

It would be nice to have {Client, RequestBuilder}::get_timeout or something. Maybe it would be nice to check other settings too, but I'm not sure which may be useful.

Code snippet of what I want:

client
    .post(URL)
    .timeout(max(client.get_timeout(), MIN_TIMEOUT_FOR_THIS_OP))
    ...;

created time in an hour

issue closedKeats/validator

cannot use derive `validator::Validate` in declarative macros

/*
// Cargo.toml
validator = { version = "0.13", features = ["derive"] }
*/

macro_rules! generate_modal {
    ($s_name:ident,$variant:ident,$typ:ty)=>{

        #[derive(validator::Validate)]
        pub struct $s_name{
              $variant:$typ
        }
    }
}
generate_modal!(Modal,data,String);

I got error message like this:

error: Type `String` of field `data` not supported
  --> src\main.rs:11:24
   |
11 |               $variant:$typ
   |                        ^^^^
...
15 | generate_modal!(Modal,data,String);
   | ----------------------------------- in this macro invocation

closed time in an hour

umaYnit

fork lexborisov/oss-fuzz

OSS-Fuzz - continuous fuzzing for open source software.

https://google.github.io/oss-fuzz

fork in an hour

issue commenthyperium/hyper

Expose separate ipv4/ipv6 local address binding in HttpConnector

Note that for now, you don't need all those unwraps:

match (self.addr_ipv4, self.addr_ipv6) {
    (Some(ipv4), Some(ipv6)) => http.set_local_addresses(ipv4, ipv6),
    (Some(ipv4), None) => http.set_local_address(Some(IpAddr::V4(ipv4))),
    (None, Some(ipv6)) => http.set_local_address(Some(IpAddr::V6(ipv6))),
    (None, None) => {}
}
let4be

comment created time in an hour

issue commenthyperium/hyper

Change parse assertion into an error log in release

@bensadiku Thanks for your help, I've assigned the issue to you :)

seanmonstar

comment created time in an hour

startedollef/navm

started time in 3 hours

startedziolko/babel-plugin-auto-await

started time in 3 hours

push eventKeats/validator

umaYnit

commit sha e39ec89f4026e97e3089dabc40e33129a1053a6b

fix find_fields_type error #155 (#156) * fix find_fields_type error #155 * add test `use_in_declarative_macros`

view details

push time in 3 hours

PR merged Keats/validator

fix find_fields_type error #155
+17 -0

2 comments

2 changed files

umaYnit

pr closed time in 3 hours

startedjspm/generator

started time in 3 hours

startedbtholt/citr-v6-project

started time in 3 hours

startedbtholt/complete-intro-to-react-v6

started time in 3 hours

issue commentservo/html5ever

Misread close tag inside JavaScript code as it in DOM

@jdm Because I think this should not be recognized as a misreading, I test the code on Opera and FireFox whose core is Chromium and Gecko, found it indeed not work as expectation, so I think html5ever did nothing wrong. I analyzed the cause found the way browser searching the close symbol of <script> is simply searching </script> string, which just what html5ever performed.

Fancyflame

comment created time in 5 hours

startedquickwit-inc/quickwit

started time in 6 hours

issue commentmattsse/chromiumoxide

publish new version?

ping.

DCjanus

comment created time in 7 hours

pull request commentKeats/validator

fix find_fields_type error #155

Is this ok?

umaYnit

comment created time in 7 hours

issue commentservo/html5ever

Misread close tag inside JavaScript code as it in DOM

Why did you close this?

Fancyflame

comment created time in 8 hours

created repositoryVirtuaSec/VirtuaSec

created time in 8 hours

release dtolnay/serde-repr

0.1.7

released time in 8 hours

push eventatroche/rust-headless-chrome

Kon Rybnikov

commit sha 6f08f9d2626987ebb92167f0981cd2cb45879c13

Fix compilation errors/warnings

view details

Kon Rybnikov

commit sha 7ec42bd37336dafb5d93cde7dfef7a2a20360bd3

Don't mention that you can't manipulate cookies (you can)

view details

mdrokz

commit sha 8d70359b69f9aa94d93dcf5e8e09bef631e73fa0

Merge pull request #242 from k-bx/set-cookies Fix build

view details

push time in 9 hours

PR merged atroche/rust-headless-chrome

Fix build

Initially intended to add the set-cookie functionality, but I've since found that the code is present, just the repo doesn't really build, so the changes are just fixing build errors

+13 -13

1 comment

4 changed files

k-bx

pr closed time in 9 hours

pull request commentatroche/rust-headless-chrome

Fix build

Initially intended to add the set-cookie functionality, but I've since found that the code is present, just the repo doesn't really build, so the changes are just fixing build errors

Thanks, actually i merged a different branch to master and it overrode the previous changes that i did and thats why it had errors

k-bx

comment created time in 9 hours

push eventatroche/rust-headless-chrome

mdrokz

commit sha 7ddd53165c4193145546dd5579f96968a0fd70ab

Update README.md

view details

push time in 9 hours

push eventhyperium/hyper

github-action-benchmark

commit sha 0dee7c7bb238b03e1858e356982ec4d129f79192

add end_to_end (cargo) benchmark result for 8a05f8eec133793899c94dcbf1520eee3b91aa50

view details

push time in 9 hours

push eventhyperium/hyper

github-action-benchmark

commit sha 2e52d92b885b3260b181ba3f86300e65ea21b06e

add pipeline (cargo) benchmark result for 8a05f8eec133793899c94dcbf1520eee3b91aa50

view details

push time in 9 hours

push eventhyperium/hyper

github-action-benchmark

commit sha f1fd1539f76bf545087169bf1e0a9698410cf680

add connect (cargo) benchmark result for 8a05f8eec133793899c94dcbf1520eee3b91aa50

view details

push time in 9 hours

push eventhyperium/hyper

David Pedersen

commit sha 8a05f8eec133793899c94dcbf1520eee3b91aa50

docs(server): add bigger example to server module (#2539) It can sometimes be tricky to discover where to use `move` closures, `async move {}`, and `.clone()` when creating a server. This adds a slightly more bigger example that will hopefully help some. Fixes https://github.com/hyperium/hyper/issues/2446

view details

push time in 9 hours

delete branch hyperium/hyper

delete branch : david/server-example

delete time in 9 hours