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: github.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:4dbc6c36-9c2b-f746-3c16-c825a72f5818 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7FE:2942DB:1BAFD28:2381184:69926989 |
| html-safe-nonce | decef753ee99c973a7fde8265eb377aaba2455a2483add2fb6b2851b930fffd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0ZFOjI5NDJEQjoxQkFGRDI4OjIzODExODQ6Njk5MjY5ODkiLCJ2aXNpdG9yX2lkIjoiODY3MTcyNjgyOTk2OTc2MjY5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bc8e79b18e08bcd010358aa125c4934e5cbc94d251c25d611273afc2221cbb9b |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width