Title: Ping does not work correctly · Issue #412 · python-hyper/hyper · GitHub
Open Graph Title: Ping does not work correctly · Issue #412 · python-hyper/hyper
X Title: Ping does not work correctly · Issue #412 · python-hyper/hyper
Description: Issue Ping function from Hyper does not check the real state of the connection. In my case, I make a connection to the server and then I switch off the internet connection. When I ping after switching off the internet connection ping is ...
Open Graph Description: Issue Ping function from Hyper does not check the real state of the connection. In my case, I make a connection to the server and then I switch off the internet connection. When I ping after switch...
X Description: Issue Ping function from Hyper does not check the real state of the connection. In my case, I make a connection to the server and then I switch off the internet connection. When I ping after switch...
Opengraph URL: https://github.com/python-hyper/hyper/issues/412
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ping does not work correctly","articleBody":"#### Issue\r\n\r\nPing function from Hyper does not check the real state of the connection. In my case, I make a connection to the server and then I switch off the internet connection. When I ping after switching off the internet connection ping is still successful. I went through the Hyper implementation and found out that ping function does not check whether the response (pong) comes back from the server. It just sends a request. Am I correct? \r\n\r\n#### An example:\r\n\r\n from hyper import HTTP20Connection\r\n conn = HTTP20Connection('api.garaza.io:443',force_proto='h2')\r\n # here I swithc off internet connection\r\n conn.ping(bytes(8))\r\n\r\nAm I doing anything wrong? Should I check the response separately?","author":{"url":"https://github.com/PrimozGodec","@type":"Person","name":"PrimozGodec"},"datePublished":"2019-05-24T08:21:20Z","url":"https://github.com/python-hyper/hyper/issues/412"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:91ec1cc8-d97e-5fdb-1f35-05868aba6122 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E63C:258A77:C8640:113BE1:6AFD9A07 |
| html-safe-nonce | ad83a79422f472b2cf21fe7c1af3fb85255f6a4623985f7f9a1c1f72ccc2bd79 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjNDOjI1OEE3NzpDODY0MDoxMTNCRTE6NkFGRDlBMDciLCJ2aXNpdG9yX2lkIjoiNTE4NjQ5MjI0ODA0NDE4MjAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bee579744268bfc654ee2ce9bc0e6ba815ac5a5e498aacabfa8f73be72d3a407 |
| hovercard-subject-tag | issue:448039817 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-hyper/hyper/412/issue_layout |
| twitter:image | https://opengraph.githubassets.com/92a874303ed8bd8c92788b3e79f479fc427ea524fd43925b378160d147770d63/python-hyper/hyper/issues/412 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/92a874303ed8bd8c92788b3e79f479fc427ea524fd43925b378160d147770d63/python-hyper/hyper/issues/412 |
| og:image:alt | Issue Ping function from Hyper does not check the real state of the connection. In my case, I make a connection to the server and then I switch off the internet connection. When I ping after switch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PrimozGodec |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyper git https://github.com/python-hyper/hyper.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 16165969 |
| octolytics-dimension-repository_nwo | python-hyper/hyper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16165969 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyper |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width