Title: Delayed content processing · Issue #272 · etr/libhttpserver · GitHub
Open Graph Title: Delayed content processing · Issue #272 · etr/libhttpserver
X Title: Delayed content processing · Issue #272 · etr/libhttpserver
Description: Is your feature request related to a problem? Please describe. When the content request comes in and the processing will be delayed, duplicating the memory creates memory pressure. I would like to be able to swap the content string into ...
Open Graph Description: Is your feature request related to a problem? Please describe. When the content request comes in and the processing will be delayed, duplicating the memory creates memory pressure. I would like to ...
X Description: Is your feature request related to a problem? Please describe. When the content request comes in and the processing will be delayed, duplicating the memory creates memory pressure. I would like to ...
Opengraph URL: https://github.com/etr/libhttpserver/issues/272
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Delayed content processing","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nWhen the content request comes in and the processing will be delayed, duplicating the memory creates memory pressure. I would like to be able to swap the content string into my own string so I don't have to make a copy, but I plan to return the response to the sender before completion (which in my case is a re-direct)\r\n\r\n**Describe why the feature or enhancement you are proposing fits the library.**\r\nThe content is not necessary to be used by the library once I have received it\r\n\r\n**Describe the solution you'd like**\r\nEither I'd like to be able to get a non-constant pointer to the content, or a way to pass my std::string for the swap within the lirbary\r\n\r\n**Describe alternatives you've considered**\r\nI make a copy now. I've considered just modifying the code I have myself and still might. I could easily submit a PR for this but have not contributed to this project before\r\n\r\n**Additional context**\r\nAdd any other context or screenshots about the feature request here.\r\n","author":{"url":"https://github.com/btiplitz","@type":"Person","name":"btiplitz"},"datePublished":"2022-06-03T18:11:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/272/libhttpserver/issues/272"}
| 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:f10915b0-3e3b-fa67-0d51-7ede780cbd60 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8EDA:2ACA74:1BADFE6:2856EF2:6A563404 |
| html-safe-nonce | 5e4d92b2c2432e8ef0745aaf0f2b8202c36f44d78b55f5314f4ec72d607b55f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RURBOjJBQ0E3NDoxQkFERkU2OjI4NTZFRjI6NkE1NjM0MDQiLCJ2aXNpdG9yX2lkIjoiMTUzMzAzNTg5NjAyMjM4MTU3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 87b87d436f75f823f2482e089b089c43b9001c0c6311b9fe1cdab3c546635080 |
| hovercard-subject-tag | issue:1260206164 |
| 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/etr/libhttpserver/272/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d7ef7c9f080055dfac2aca873210038ce0cfafab03922a734771dcaf822adc1/etr/libhttpserver/issues/272 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d7ef7c9f080055dfac2aca873210038ce0cfafab03922a734771dcaf822adc1/etr/libhttpserver/issues/272 |
| og:image:alt | Is your feature request related to a problem? Please describe. When the content request comes in and the processing will be delayed, duplicating the memory creates memory pressure. I would like to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | btiplitz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b |
| turbo-cache-control | no-preview |
| go-import | github.com/etr/libhttpserver git https://github.com/etr/libhttpserver.git |
| octolytics-dimension-user_id | 1201536 |
| octolytics-dimension-user_login | etr |
| octolytics-dimension-repository_id | 3416891 |
| octolytics-dimension-repository_nwo | etr/libhttpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3416891 |
| octolytics-dimension-repository_network_root_nwo | etr/libhttpserver |
| 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 | 423b2fb76ac2b90de5ab599b7a76a0d2b2c83f24 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width