Title: Server segfaults when a non-defined request method is received. · Issue #48 · etr/libhttpserver · GitHub
Open Graph Title: Server segfaults when a non-defined request method is received. · Issue #48 · etr/libhttpserver
X Title: Server segfaults when a non-defined request method is received. · Issue #48 · etr/libhttpserver
Description: If the server receives a request method that is non-standard, it segfaults. Reproducing the Error Start the server Issue a request with at non-standard method: curl -X SEGFAULTPLS http://localhost:8080/ Backtrace #0 0x00007ffff63c299a in...
Open Graph Description: If the server receives a request method that is non-standard, it segfaults. Reproducing the Error Start the server Issue a request with at non-standard method: curl -X SEGFAULTPLS http://localhost:...
X Description: If the server receives a request method that is non-standard, it segfaults. Reproducing the Error Start the server Issue a request with at non-standard method: curl -X SEGFAULTPLS http://localhost:...
Opengraph URL: https://github.com/etr/libhttpserver/issues/48
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Server segfaults when a non-defined request method is received.","articleBody":"If the server receives a request method that is non-standard, it segfaults. \n### Reproducing the Error\n- Start the server\n- Issue a request with at non-standard method: `curl -X SEGFAULTPLS http://localhost:8080/`\n### Backtrace\n\n```\n#0 0x00007ffff63c299a in pthread_rwlock_wrlock () from /usr/lib/libpthread.so.0\n#1 0x00007ffff7bc3ab2 in httpserver::webserver::request_completed(void*, MHD_Connection*, void**, MHD_RequestTerminationCode) () from /usr/lib/libhttpserver.so.0\n#2 0x00007ffff6ddadc6 in ?? () from /usr/lib/libmicrohttpd.so.10\n#3 0x00007ffff6de03e9 in MHD_run_from_select () from /usr/lib/libmicrohttpd.so.10\n#4 0x00007ffff6de0691 in ?? () from /usr/lib/libmicrohttpd.so.10\n#5 0x00007ffff6de024b in MHD_run () from /usr/lib/libmicrohttpd.so.10\n#6 0x00007ffff7bc65cb in httpserver::webserver::select(void*) () from /usr/lib/libhttpserver.so.0\n#7 0x00007ffff63bf0a2 in start_thread () from /usr/lib/libpthread.so.0\n#8 0x00007ffff70d1d1d in clone () from /usr/lib/libc.so.6\n```\n","author":{"url":"https://github.com/m-renaud","@type":"Person","name":"m-renaud"},"datePublished":"2014-04-19T23:11:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/48/libhttpserver/issues/48"}
| 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:f2fbf9bb-e2a5-9dd1-9c40-e74a36c3cffc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6D8:3FC474:BEAF42:115206B:6A54A502 |
| html-safe-nonce | 0d113b78419377b751e88ba1d58c52486806aede78e84752b1f46145e79d3c45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkQ4OjNGQzQ3NDpCRUFGNDI6MTE1MjA2Qjo2QTU0QTUwMiIsInZpc2l0b3JfaWQiOiI0NjM2ODM4ODQ3NjQwMjgyMzcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e6cb4091dc349cf46bb02e7a7ad35a2087811abad0f15533f9adbba7489bc91e |
| hovercard-subject-tag | issue:31856523 |
| 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/48/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e81ab3e99dd77c3b1cf3a5ffdb69aa30df52aa713cc1b43b2c377998b14c0e05/etr/libhttpserver/issues/48 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e81ab3e99dd77c3b1cf3a5ffdb69aa30df52aa713cc1b43b2c377998b14c0e05/etr/libhttpserver/issues/48 |
| og:image:alt | If the server receives a request method that is non-standard, it segfaults. Reproducing the Error Start the server Issue a request with at non-standard method: curl -X SEGFAULTPLS http://localhost:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | m-renaud |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width