René's URL Explorer Experiment


Title: Modifications and cleanup for compilation on OS/X by waTeim · Pull Request #42 · etr/libhttpserver · GitHub

Open Graph Title: Modifications and cleanup for compilation on OS/X by waTeim · Pull Request #42 · etr/libhttpserver

X Title: Modifications and cleanup for compilation on OS/X by waTeim · Pull Request #42 · etr/libhttpserver

Description: I've made modifications mostly for compilation on OS/X to succeed. Found 1 generic bug and one bug that is OS/X specific. The resulting library have been tested by inclusion in a program compiled for both OS/X and Linux. The changes are limited in scope and can be verified readily by inspection. I also made some changes that are not strictly necessary, but suited to my development environment. More specifically; clang requires that the copy constructor of http_endpoint be public. Changed to match declarations and forward declarations; class for class, struct for struct clang may have further requirements needing fully defined types or there is a scenario not seen before that can give rise to use of a class not fully defined for which include file inclusion fixes the problem OS/X AF_INET STREAM_SOCKETS do not support SOCK_CLOSEXEC; the system call returns EPROTONOSUPPORT not EINVAL. Changed a getter to const as it doesn't change the class state and expands the scenarios in which a temporary object need not be created. Fixed a typo in set_requestor_port. Changed to allow building in the same directory, modified .gitignore to ignore the resulting targets

Open Graph Description: I've made modifications mostly for compilation on OS/X to succeed. Found 1 generic bug and one bug that is OS/X specific. The resulting library have been tested by inclusion in a program comp...

X Description: I've made modifications mostly for compilation on OS/X to succeed. Found 1 generic bug and one bug that is OS/X specific. The resulting library have been tested by inclusion in a program ...

Opengraph URL: https://github.com/etr/libhttpserver/pull/42

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c6819350-7fe4-d4d1-0dd5-5c3c38b9918b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD250:101A9F:1BF1C69:2594390:6A536C80
html-safe-noncef33db3e1d7a96864216fdc551a8d0825ae0fbd2aa6fed99af8a6b506b08f2be1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjUwOjEwMUE5RjoxQkYxQzY5OjI1OTQzOTA6NkE1MzZDODAiLCJ2aXNpdG9yX2lkIjoiODkzNzYwOTkxNTc2NzQxNzk4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca0f265ff26435feb937e797752b346de15dec11b0b83992cd72167fdf4b0e1bb
hovercard-subject-tagpull_request:12633493
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/etr/libhttpserver/pull/42/files
twitter:imagehttps://avatars.githubusercontent.com/u/5779395?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5779395?s=400&v=4
og:image:altI've made modifications mostly for compilation on OS/X to succeed. Found 1 generic bug and one bug that is OS/X specific. The resulting library have been tested by inclusion in a program comp...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/etr/libhttpserver git https://github.com/etr/libhttpserver.git
octolytics-dimension-user_id1201536
octolytics-dimension-user_loginetr
octolytics-dimension-repository_id3416891
octolytics-dimension-repository_nwoetr/libhttpserver
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3416891
octolytics-dimension-repository_network_root_nwoetr/libhttpserver
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/etr/libhttpserver/pull/42/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fetr%2Flibhttpserver%2Fpull%2F42%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fetr%2Flibhttpserver%2Fpull%2F42%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=etr%2Flibhttpserver
Reloadhttps://github.com/etr/libhttpserver/pull/42/files
Reloadhttps://github.com/etr/libhttpserver/pull/42/files
Reloadhttps://github.com/etr/libhttpserver/pull/42/files
etr https://github.com/etr
libhttpserverhttps://github.com/etr/libhttpserver
Notifications https://github.com/login?return_to=%2Fetr%2Flibhttpserver
Fork 191 https://github.com/login?return_to=%2Fetr%2Flibhttpserver
Star 942 https://github.com/login?return_to=%2Fetr%2Flibhttpserver
Code https://github.com/etr/libhttpserver
Issues 15 https://github.com/etr/libhttpserver/issues
Pull requests 4 https://github.com/etr/libhttpserver/pulls
Actions https://github.com/etr/libhttpserver/actions
Projects https://github.com/etr/libhttpserver/projects
Wiki https://github.com/etr/libhttpserver/wiki
Security and quality 0 https://github.com/etr/libhttpserver/security
Insights https://github.com/etr/libhttpserver/pulse
Code https://github.com/etr/libhttpserver
Issues https://github.com/etr/libhttpserver/issues
Pull requests https://github.com/etr/libhttpserver/pulls
Actions https://github.com/etr/libhttpserver/actions
Projects https://github.com/etr/libhttpserver/projects
Wiki https://github.com/etr/libhttpserver/wiki
Security and quality https://github.com/etr/libhttpserver/security
Insights https://github.com/etr/libhttpserver/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fetr%2Flibhttpserver%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fetr%2Flibhttpserver%2Fissues%2Fnew%2Fchoose
waTeimhttps://github.com/waTeim
etr:masterhttps://github.com/etr/libhttpserver/tree/master
waTeim:masterhttps://github.com/waTeim/libhttpserver/tree/master
Conversation 9 https://github.com/etr/libhttpserver/pull/42
Commits 4 https://github.com/etr/libhttpserver/pull/42/commits
Checks 0 https://github.com/etr/libhttpserver/pull/42/checks
Files changed https://github.com/etr/libhttpserver/pull/42/files
Please reload this pagehttps://github.com/etr/libhttpserver/pull/42/files
Modifications and cleanup for compilation on OS/X https://github.com/etr/libhttpserver/pull/42/files#top
Show all changes 4 commits https://github.com/etr/libhttpserver/pull/42/files
e40716d Fixes/changes for OS/X compilation waTeim Feb 13, 2014 https://github.com/etr/libhttpserver/pull/42/commits/e40716d53414eacf2a82222efa2cf776b2f1b5df
7ad5009 Modified .gitignore to include files generated by build waTeim Feb 13, 2014 https://github.com/etr/libhttpserver/pull/42/commits/7ad50093eb7dcd9f3b68ecf982c5f7b41e9a2ef9
da21676 Change getter to const waTeim Feb 17, 2014 https://github.com/etr/libhttpserver/pull/42/commits/da21676f627896b26bcb9e5e518d4a96bcb0b59d
4d20b56 Fixed problem on OS/X; SOCK_CLOEXEC raises EPROTONOSUPPORT instead waTeim Feb 18, 2014 https://github.com/etr/libhttpserver/pull/42/commits/4d20b56236208b837e59b1f589ad30d4f22068d3
Clear filters https://github.com/etr/libhttpserver/pull/42/files
Please reload this pagehttps://github.com/etr/libhttpserver/pull/42/files
Please reload this pagehttps://github.com/etr/libhttpserver/pull/42/files
.gitignore https://github.com/etr/libhttpserver/pull/42/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
configure.ac https://github.com/etr/libhttpserver/pull/42/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
http_resource.cpp https://github.com/etr/libhttpserver/pull/42/files#diff-0698bc16803b6f5212d28b575b04fd627a6fe244a64ce4bcaaecf4cf169dca40
http_response.cpp https://github.com/etr/libhttpserver/pull/42/files#diff-7cf598dd2a6fe0e84eae86725126b19b964e0eb01f097316c2f09d3dfbae89fd
http_endpoint.hpp https://github.com/etr/libhttpserver/pull/42/files#diff-2a2e78281641270bdb78616a07c24cb1bbcfc12482f93ff90f8cc678ba3ce224
http_request.hpp https://github.com/etr/libhttpserver/pull/42/files#diff-6f4b21bfdc817886211e2c0830071adc468bca1ed07da186dc32234875bdacfd
http_response.hpp https://github.com/etr/libhttpserver/pull/42/files#diff-cd55630ae2789c2a8604869045e5eb385fb22d48472e2add9b7cfab7e3fc6ed0
webserver.hpp https://github.com/etr/libhttpserver/pull/42/files#diff-fcea8dea2184d98620480a5cddb26d7eff36db1be7e7b8ded054e17c2d967e63
webserver.cpp https://github.com/etr/libhttpserver/pull/42/files#diff-9f24668b43bfb933b02221fb9f6dc1a442783d6c6ac99a010074313f03e1311f
.gitignorehttps://github.com/etr/libhttpserver/pull/42/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
configure.achttps://github.com/etr/libhttpserver/pull/42/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/configure.ac
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/etr/libhttpserver/pull/42/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
src/http_resource.cpphttps://github.com/etr/libhttpserver/pull/42/files#diff-0698bc16803b6f5212d28b575b04fd627a6fe244a64ce4bcaaecf4cf169dca40
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/src/http_resource.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-0698bc16803b6f5212d28b575b04fd627a6fe244a64ce4bcaaecf4cf169dca40
https://github.com/etr/libhttpserver/pull/42/files#diff-0698bc16803b6f5212d28b575b04fd627a6fe244a64ce4bcaaecf4cf169dca40
src/http_response.cpphttps://github.com/etr/libhttpserver/pull/42/files#diff-7cf598dd2a6fe0e84eae86725126b19b964e0eb01f097316c2f09d3dfbae89fd
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/src/http_response.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-7cf598dd2a6fe0e84eae86725126b19b964e0eb01f097316c2f09d3dfbae89fd
https://github.com/etr/libhttpserver/pull/42/files#diff-7cf598dd2a6fe0e84eae86725126b19b964e0eb01f097316c2f09d3dfbae89fd
https://github.com/etr/libhttpserver/pull/42/files#diff-7cf598dd2a6fe0e84eae86725126b19b964e0eb01f097316c2f09d3dfbae89fd
src/httpserver/details/http_endpoint.hpphttps://github.com/etr/libhttpserver/pull/42/files#diff-2a2e78281641270bdb78616a07c24cb1bbcfc12482f93ff90f8cc678ba3ce224
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/src/httpserver/details/http_endpoint.hpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-2a2e78281641270bdb78616a07c24cb1bbcfc12482f93ff90f8cc678ba3ce224
https://github.com/etr/libhttpserver/pull/42/files#diff-2a2e78281641270bdb78616a07c24cb1bbcfc12482f93ff90f8cc678ba3ce224
https://github.com/etr/libhttpserver/pull/42/files#diff-2a2e78281641270bdb78616a07c24cb1bbcfc12482f93ff90f8cc678ba3ce224
https://github.com/etr/libhttpserver/pull/42/files#diff-2a2e78281641270bdb78616a07c24cb1bbcfc12482f93ff90f8cc678ba3ce224
src/httpserver/http_request.hpphttps://github.com/etr/libhttpserver/pull/42/files#diff-6f4b21bfdc817886211e2c0830071adc468bca1ed07da186dc32234875bdacfd
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/src/httpserver/http_request.hpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-6f4b21bfdc817886211e2c0830071adc468bca1ed07da186dc32234875bdacfd
https://github.com/etr/libhttpserver/pull/42/files#diff-6f4b21bfdc817886211e2c0830071adc468bca1ed07da186dc32234875bdacfd
src/httpserver/http_response.hpphttps://github.com/etr/libhttpserver/pull/42/files#diff-cd55630ae2789c2a8604869045e5eb385fb22d48472e2add9b7cfab7e3fc6ed0
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/src/httpserver/http_response.hpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-cd55630ae2789c2a8604869045e5eb385fb22d48472e2add9b7cfab7e3fc6ed0
https://github.com/etr/libhttpserver/pull/42/files#diff-cd55630ae2789c2a8604869045e5eb385fb22d48472e2add9b7cfab7e3fc6ed0
src/httpserver/webserver.hpphttps://github.com/etr/libhttpserver/pull/42/files#diff-fcea8dea2184d98620480a5cddb26d7eff36db1be7e7b8ded054e17c2d967e63
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/src/httpserver/webserver.hpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-fcea8dea2184d98620480a5cddb26d7eff36db1be7e7b8ded054e17c2d967e63
https://github.com/etr/libhttpserver/pull/42/files#diff-fcea8dea2184d98620480a5cddb26d7eff36db1be7e7b8ded054e17c2d967e63
src/webserver.cpphttps://github.com/etr/libhttpserver/pull/42/files#diff-9f24668b43bfb933b02221fb9f6dc1a442783d6c6ac99a010074313f03e1311f
View file https://github.com/waTeim/libhttpserver/blob/4d20b56236208b837e59b1f589ad30d4f22068d3/src/webserver.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/etr/libhttpserver/pull/42/{{ revealButtonHref }}
https://github.com/etr/libhttpserver/pull/42/files#diff-9f24668b43bfb933b02221fb9f6dc1a442783d6c6ac99a010074313f03e1311f
https://github.com/etr/libhttpserver/pull/42/files#diff-9f24668b43bfb933b02221fb9f6dc1a442783d6c6ac99a010074313f03e1311f
https://github.com/etr/libhttpserver/pull/42/files#diff-9f24668b43bfb933b02221fb9f6dc1a442783d6c6ac99a010074313f03e1311f
https://github.com/etr/libhttpserver/pull/42/files#diff-9f24668b43bfb933b02221fb9f6dc1a442783d6c6ac99a010074313f03e1311f
https://github.com/etr/libhttpserver/pull/42/files#diff-9f24668b43bfb933b02221fb9f6dc1a442783d6c6ac99a010074313f03e1311f
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.