Title: HTTPS Stream: first character is missing (HTTP Method) · Issue #2 · duplicati/httpserver · GitHub
Open Graph Title: HTTPS Stream: first character is missing (HTTP Method) · Issue #2 · duplicati/httpserver
X Title: HTTPS Stream: first character is missing (HTTP Method) · Issue #2 · duplicati/httpserver
Description: Hello, I've found a bug in the HttpServer, which only affects the usage when HTTPS mode is enabled. If a HTTPS connection is created, in HttpContext.cs -s OnReceive function in the first call only the first byte of the stream arrives (fo...
Open Graph Description: Hello, I've found a bug in the HttpServer, which only affects the usage when HTTPS mode is enabled. If a HTTPS connection is created, in HttpContext.cs -s OnReceive function in the first call only ...
X Description: Hello, I've found a bug in the HttpServer, which only affects the usage when HTTPS mode is enabled. If a HTTPS connection is created, in HttpContext.cs -s OnReceive function in the first call o...
Opengraph URL: https://github.com/duplicati/httpserver/issues/2
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTTPS Stream: first character is missing (HTTP Method)","articleBody":"Hello, I've found a bug in the HttpServer, which only affects the usage when HTTPS mode is enabled. \r\nIf a HTTPS connection is created, in HttpContext.cs -s OnReceive function in the first call only the first byte of the stream arrives (for example: 'G' in 'GET /test HTTP/1.1'). \r\n\r\nThen it will fail to copy this value to _buffer (i don't really understand that part of the code and the recursion), so in the upper levels all Method names are truncated: 'ET', 'PTIONS' etc. There was (and should have been) a check for Method value in HttpParser.cs but it has been removed.\r\n\r\n In the original version there was a comment about a not traced bug in this function, I think this is it. I could no debug it further what is the root cause of this problem. Do you have any hints how to continue with the debug? Thanks","author":{"url":"https://github.com/kbalint","@type":"Person","name":"kbalint"},"datePublished":"2018-09-25T14:05:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/httpserver/issues/2"}
| 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:84d53a03-0a8f-41c9-a19a-96b0cf625922 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82C0:1D24:1B0022:24BE90:69902165 |
| html-safe-nonce | 64dc838a88d707745f722457c36e857095a4515a7b151be23dac3b9ae7176b32 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkMwOjFEMjQ6MUIwMDIyOjI0QkU5MDo2OTkwMjE2NSIsInZpc2l0b3JfaWQiOiI4Njg0Nzg3MjAxNTA2MTAyNzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 701efe112bd84c2d8368bfc82a5022b890a11935ee0f21b83b22cbade6649577 |
| hovercard-subject-tag | issue:363596544 |
| 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/duplicati/httpserver/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27b086fe6bf0421c04e5b645a408a6664cdaccf8d965ac69658b41437408a3c1/duplicati/httpserver/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27b086fe6bf0421c04e5b645a408a6664cdaccf8d965ac69658b41437408a3c1/duplicati/httpserver/issues/2 |
| og:image:alt | Hello, I've found a bug in the HttpServer, which only affects the usage when HTTPS mode is enabled. If a HTTPS connection is created, in HttpContext.cs -s OnReceive function in the first call only ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kbalint |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/duplicati/httpserver git https://github.com/duplicati/httpserver.git |
| octolytics-dimension-user_id | 8270231 |
| octolytics-dimension-user_login | duplicati |
| octolytics-dimension-repository_id | 22636595 |
| octolytics-dimension-repository_nwo | duplicati/httpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22636595 |
| octolytics-dimension-repository_network_root_nwo | duplicati/httpserver |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width