René's URL Explorer Experiment


Title: Test for the size of struct http_parser fails on 32 bit systems where there is padding/alignment for void* · Issue #526 · nodejs/http-parser · GitHub

Open Graph Title: Test for the size of struct http_parser fails on 32 bit systems where there is padding/alignment for void* · Issue #526 · nodejs/http-parser

X Title: Test for the size of struct http_parser fails on 32 bit systems where there is padding/alignment for void* · Issue #526 · nodejs/http-parser

Description: Bonjour, Porting http-parser to AIX, where there are 32 and 64 bit environments, there is a test on sizeof (struct http_parser) which fails due to 8 byte reservation for void* on both 32 and 64 bit compiles. A clean option might be to ch...

Open Graph Description: Bonjour, Porting http-parser to AIX, where there are 32 and 64 bit environments, there is a test on sizeof (struct http_parser) which fails due to 8 byte reservation for void* on both 32 and 64 bit...

X Description: Bonjour, Porting http-parser to AIX, where there are 32 and 64 bit environments, there is a test on sizeof (struct http_parser) which fails due to 8 byte reservation for void* on both 32 and 64 bit...

Opengraph URL: https://github.com/nodejs/http-parser/issues/526

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test for the size of struct http_parser fails on 32 bit systems where there is padding/alignment for void*","articleBody":"Bonjour,\r\n\r\nPorting http-parser to AIX, where there are 32 and 64 bit environments, there is a test on sizeof (struct http_parser) which fails due to 8 byte reservation for void* on both 32 and 64 bit compiles.\r\n\r\nA clean option might be to change the   void *data   element of struct http_parser to be a union of uint64 and void*.\r\n\r\nBut this may not work if the 32 bit size of struct http_parser must remain at a total of 28 bytes (and in which case the test is in correct).\r\n\r\nHowever, supposing that this is an error in the test code, I provisionally used the following patch for the 32 bit build\r\n\r\n```\r\n--- ./test.c.ORIG       2020-11-27 22:02:53 +0100\r\n+++ ./test.c    2020-11-27 22:57:18 +0100\r\n@@ -4234,7 +4234,7 @@\r\n   printf(\"http_parser v%u.%u.%u (0x%06lx)\\n\", major, minor, patch, version);\r\n \r\n   printf(\"sizeof(http_parser) = %u\\n\", (unsigned int)sizeof(http_parser));\r\n-  assert(sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *));\r\n+  assert(sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + 2*sizeof(void *));\r\n \r\n   //// API\r\n   test_preserve_data();\r\n```\r\n\r\n\r\nWe would like to ask for your expert advice on how best to resolve this issue.\r\n\r\nThanks.\r\n","author":{"url":"https://github.com/frmichael","@type":"Person","name":"frmichael"},"datePublished":"2020-11-30T10:11:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/526/http-parser/issues/526"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4a1dcb33-a2b9-3a32-7bf7-42122743c122
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD9CE:1C9D2:427ED34:5775E27:6992E8BE
html-safe-nonce32a4b8b40f50a10effc9165ec49591873c45508c6da09acddf9a549c8a4a12b1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUNFOjFDOUQyOjQyN0VEMzQ6NTc3NUUyNzo2OTkyRThCRSIsInZpc2l0b3JfaWQiOiI1ODMzNzQwOTI0NzE5NjU1MTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdba0953e363f6f6c946af0b55ebe8870ff01826b87bcc6e51eb8cf3bb8d38d60
hovercard-subject-tagissue:753341893
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/http-parser/526/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f088d3dc6d1dbf1609757950e3c7a1aa253cf5693e320bb692cd1e25ba5d5c67/nodejs/http-parser/issues/526
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f088d3dc6d1dbf1609757950e3c7a1aa253cf5693e320bb692cd1e25ba5d5c67/nodejs/http-parser/issues/526
og:image:altBonjour, Porting http-parser to AIX, where there are 32 and 64 bit environments, there is a test on sizeof (struct http_parser) which fails due to 8 byte reservation for void* on both 32 and 64 bit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefrmichael
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/nodejs/http-parser git https://github.com/nodejs/http-parser.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id186749
octolytics-dimension-repository_nwonodejs/http-parser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id186749
octolytics-dimension-repository_network_root_nwonodejs/http-parser
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84dcb133269e3cfe6e0296cc85fbacb92cae92bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/nodejs/http-parser/issues/526#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fhttp-parser%2Fissues%2F526
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fhttp-parser%2Fissues%2F526
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fhttp-parser
Reloadhttps://patch-diff.githubusercontent.com/nodejs/http-parser/issues/526
Reloadhttps://patch-diff.githubusercontent.com/nodejs/http-parser/issues/526
Reloadhttps://patch-diff.githubusercontent.com/nodejs/http-parser/issues/526
nodejs https://patch-diff.githubusercontent.com/nodejs
http-parserhttps://patch-diff.githubusercontent.com/nodejs/http-parser
Please reload this pagehttps://patch-diff.githubusercontent.com/nodejs/http-parser/issues/526
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fnodejs%2Fhttp-parser
Fork 1.5k https://patch-diff.githubusercontent.com/login?return_to=%2Fnodejs%2Fhttp-parser
Star 6.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fnodejs%2Fhttp-parser
Code https://patch-diff.githubusercontent.com/nodejs/http-parser
Issues 41 https://patch-diff.githubusercontent.com/nodejs/http-parser/issues
Pull requests 38 https://patch-diff.githubusercontent.com/nodejs/http-parser/pulls
Actions https://patch-diff.githubusercontent.com/nodejs/http-parser/actions
Projects 0 https://patch-diff.githubusercontent.com/nodejs/http-parser/projects
Security 0 https://patch-diff.githubusercontent.com/nodejs/http-parser/security
Insights https://patch-diff.githubusercontent.com/nodejs/http-parser/pulse
Code https://patch-diff.githubusercontent.com/nodejs/http-parser
Issues https://patch-diff.githubusercontent.com/nodejs/http-parser/issues
Pull requests https://patch-diff.githubusercontent.com/nodejs/http-parser/pulls
Actions https://patch-diff.githubusercontent.com/nodejs/http-parser/actions
Projects https://patch-diff.githubusercontent.com/nodejs/http-parser/projects
Security https://patch-diff.githubusercontent.com/nodejs/http-parser/security
Insights https://patch-diff.githubusercontent.com/nodejs/http-parser/pulse
Test for the size of struct http_parser fails on 32 bit systems where there is padding/alignment for void*https://patch-diff.githubusercontent.com/nodejs/http-parser/issues/526#top
https://github.com/frmichael
https://github.com/frmichael
frmichaelhttps://github.com/frmichael
on Nov 30, 2020https://github.com/nodejs/http-parser/issues/526#issue-753341893
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.