| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:0e69d22e-0afc-8e18-2a92-dd2eee611390 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D9BA:2FF0D6:128EC4:1798BB:6B092AD2 |
| html-safe-nonce | e60b22251bcc15e1a933ad7566755df45ce6066211b631d429c658be25333178 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUJBOjJGRjBENjoxMjhFQzQ6MTc5OEJCOjZCMDkyQUQyIiwidmlzaXRvcl9pZCI6IjI4NjIxOTAyMDgxMjc0MTI5NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e8e7bfc1f24b440bf8671583e3200e9c79d5dea4f3a61a5fe54dd95643f22f4 |
| hovercard-subject-tag | repository:113753890 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/seem-sky/libhttpserver/commits/master/src/libhttpserver/socket.cpp |
| twitter:image | https://opengraph.githubassets.com/e3442cf82e39980910eb11368f22c7def95a8dd10db732a70352ac007842b991/seem-sky/libhttpserver |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3442cf82e39980910eb11368f22c7def95a8dd10db732a70352ac007842b991/seem-sky/libhttpserver |
| og:image:alt | A simple, easy to use C++ 11 based HTTP web server - History for src/libhttpserver/socket.cpp - seem-sky/libhttpserver |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | da7e7304a38b6bc6a1ec0a7970f219ae1c71491302599b3c42088762d8889d94 |
| turbo-cache-control | no-cache |
| go-import | github.com/seem-sky/libhttpserver git https://github.com/seem-sky/libhttpserver.git |
| octolytics-dimension-user_id | 6050445 |
| octolytics-dimension-user_login | seem-sky |
| octolytics-dimension-repository_id | 113753890 |
| octolytics-dimension-repository_nwo | seem-sky/libhttpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 31376981 |
| octolytics-dimension-repository_parent_nwo | RipcordSoftware/libhttpserver |
| octolytics-dimension-repository_network_root_id | 31376981 |
| octolytics-dimension-repository_network_root_nwo | RipcordSoftware/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 | f3cb927d1757a02e619a0eb62b036233d6d9cdc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://github.com/seem-sky/libhttpserver/commits/master/src/libhttpserver/socket.cpp#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fseem-sky%2Flibhttpserver%2Fcommits%2Fmaster%2Fsrc%2Flibhttpserver%2Fsocket.cpp |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fseem-sky%2Flibhttpserver%2Fcommits%2Fmaster%2Fsrc%2Flibhttpserver%2Fsocket.cpp |
| 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%2Fcommits%2Fshow&source=header-repo&source_repo=seem-sky%2Flibhttpserver |
| Reload | https://github.com/seem-sky/libhttpserver/commits/master/src/libhttpserver/socket.cpp |
| Reload | https://github.com/seem-sky/libhttpserver/commits/master/src/libhttpserver/socket.cpp |
| Reload | https://github.com/seem-sky/libhttpserver/commits/master/src/libhttpserver/socket.cpp |
| seem-sky | https://github.com/seem-sky |
| libhttpserver | https://github.com/seem-sky/libhttpserver |
| Code | https://github.com/seem-sky/libhttpserver |
| Pull requests | https://github.com/seem-sky/libhttpserver/pulls |
| Actions | https://github.com/seem-sky/libhttpserver/actions |
| Projects | https://github.com/seem-sky/libhttpserver/projects |
| Wiki | https://github.com/seem-sky/libhttpserver/wiki |
| Security and quality | https://github.com/seem-sky/libhttpserver/security |
| Insights | https://github.com/seem-sky/libhttpserver/pulse |
| https://github.com/seem-sky/libhttpserver |
| libhttpserver | https://github.com/seem-sky/libhttpserver/commits |
| src | https://github.com/seem-sky/libhttpserver/commits/master/src |
| libhttpserver | https://github.com/seem-sky/libhttpserver/commits/master/src/libhttpserver |
| socket.cpp | https://github.com/seem-sky/libhttpserver/commits/master/src/libhttpserver/socket.cpp |
| master | https://github.com/seem-sky/libhttpserver/tree/master |
| We can only set NoDelay on the socket after the accept | https://github.com/seem-sky/libhttpserver/commit/98639a936f793d548780ee00e798e9da31565800 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 98639a9 | https://github.com/seem-sky/libhttpserver/commit/98639a936f793d548780ee00e798e9da31565800 |
| https://github.com/seem-sky/libhttpserver/blob/98639a936f793d548780ee00e798e9da31565800/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/98639a936f793d548780ee00e798e9da31565800 |
| Flush() works on Linux only; on others just set NoDelay | https://github.com/seem-sky/libhttpserver/commit/3ea262ef59c457e70ad31a1f88564b3b03887cb7 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 3ea262e | https://github.com/seem-sky/libhttpserver/commit/3ea262ef59c457e70ad31a1f88564b3b03887cb7 |
| https://github.com/seem-sky/libhttpserver/blob/3ea262ef59c457e70ad31a1f88564b3b03887cb7/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/3ea262ef59c457e70ad31a1f88564b3b03887cb7 |
| Corrected Peek timeout on Linux | https://github.com/seem-sky/libhttpserver/commit/1521cf2d6cc628b364e9e5346a1bd292c4c294b2 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 1521cf2 | https://github.com/seem-sky/libhttpserver/commit/1521cf2d6cc628b364e9e5346a1bd292c4c294b2 |
| https://github.com/seem-sky/libhttpserver/blob/1521cf2d6cc628b364e9e5346a1bd292c4c294b2/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/1521cf2d6cc628b364e9e5346a1bd292c4c294b2 |
| Correct poll() handling on non-Linux systems | https://github.com/seem-sky/libhttpserver/commit/582d4bdc95621eb4744ce02c67d2806e3bf3db1d |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 582d4bd | https://github.com/seem-sky/libhttpserver/commit/582d4bdc95621eb4744ce02c67d2806e3bf3db1d |
| https://github.com/seem-sky/libhttpserver/blob/582d4bdc95621eb4744ce02c67d2806e3bf3db1d/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/582d4bdc95621eb4744ce02c67d2806e3bf3db1d |
| On non-Linux systems use Poll() to wait for inbound data | https://github.com/seem-sky/libhttpserver/commit/152dfa0be646c7137a25c18bd3df70a4973f87a1 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 152dfa0 | https://github.com/seem-sky/libhttpserver/commit/152dfa0be646c7137a25c18bd3df70a4973f87a1 |
| https://github.com/seem-sky/libhttpserver/blob/152dfa0be646c7137a25c18bd3df70a4973f87a1/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/152dfa0be646c7137a25c18bd3df70a4973f87a1 |
| Use boost::asio's get_option()/set_option() to set socket options | https://github.com/seem-sky/libhttpserver/commit/bfed7cd25707c1ebdde2b43455fbbbfecb97cb0d |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| bfed7cd | https://github.com/seem-sky/libhttpserver/commit/bfed7cd25707c1ebdde2b43455fbbbfecb97cb0d |
| https://github.com/seem-sky/libhttpserver/blob/bfed7cd25707c1ebdde2b43455fbbbfecb97cb0d/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/bfed7cd25707c1ebdde2b43455fbbbfecb97cb0d |
| OSX doesn't handle SO_RCVTIMEO in the same way as Linux - added temp fix | https://github.com/seem-sky/libhttpserver/commit/fea8304627741618315909f509e531bdec2c0bc6 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| fea8304 | https://github.com/seem-sky/libhttpserver/commit/fea8304627741618315909f509e531bdec2c0bc6 |
| https://github.com/seem-sky/libhttpserver/blob/fea8304627741618315909f509e531bdec2c0bc6/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/fea8304627741618315909f509e531bdec2c0bc6 |
| Added socket io tracking, redirect and 404 to the Response class | https://github.com/seem-sky/libhttpserver/commit/aead5e26a83397476f050bed1b7a010729ac161b |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| aead5e2 | https://github.com/seem-sky/libhttpserver/commit/aead5e26a83397476f050bed1b7a010729ac161b |
| https://github.com/seem-sky/libhttpserver/blob/aead5e26a83397476f050bed1b7a010729ac161b/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/aead5e26a83397476f050bed1b7a010729ac161b |
| Added RequestStream | https://github.com/seem-sky/libhttpserver/commit/988c9db60c7676c4210181844c2add47b3303476 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 988c9db | https://github.com/seem-sky/libhttpserver/commit/988c9db60c7676c4210181844c2add47b3303476 |
| https://github.com/seem-sky/libhttpserver/blob/988c9db60c7676c4210181844c2add47b3303476/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/988c9db60c7676c4210181844c2add47b3303476 |
| Correctly loop for incoming header data; close connection when requested | https://github.com/seem-sky/libhttpserver/commit/6c5e6d7f6778cd48c408d2c8f73d60c820ac95ae |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 6c5e6d7 | https://github.com/seem-sky/libhttpserver/commit/6c5e6d7f6778cd48c408d2c8f73d60c820ac95ae |
| https://github.com/seem-sky/libhttpserver/blob/6c5e6d7f6778cd48c408d2c8f73d60c820ac95ae/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/6c5e6d7f6778cd48c408d2c8f73d60c820ac95ae |
| Renamed Buffer as HeaderBuffer | https://github.com/seem-sky/libhttpserver/commit/0a00162938eb42dae92dd32565a26aa877f57c74 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 0a00162 | https://github.com/seem-sky/libhttpserver/commit/0a00162938eb42dae92dd32565a26aa877f57c74 |
| https://github.com/seem-sky/libhttpserver/blob/0a00162938eb42dae92dd32565a26aa877f57c74/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/0a00162938eb42dae92dd32565a26aa877f57c74 |
| Started HandleRequest() loop | https://github.com/seem-sky/libhttpserver/commit/262a3f92266ab06f749a6429afc83a6431e89e47 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 262a3f9 | https://github.com/seem-sky/libhttpserver/commit/262a3f92266ab06f749a6429afc83a6431e89e47 |
| https://github.com/seem-sky/libhttpserver/blob/262a3f92266ab06f749a6429afc83a6431e89e47/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/262a3f92266ab06f749a6429afc83a6431e89e47 |
| Remove legacy include reference | https://github.com/seem-sky/libhttpserver/commit/419f1a5cc2086656156c3cf29d887c14a1a62fc2 |
| https://github.com/craigvt |
| craigvt | https://github.com/seem-sky/libhttpserver/commits?author=craigvt |
| 419f1a5 | https://github.com/seem-sky/libhttpserver/commit/419f1a5cc2086656156c3cf29d887c14a1a62fc2 |
| https://github.com/seem-sky/libhttpserver/blob/419f1a5cc2086656156c3cf29d887c14a1a62fc2/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/419f1a5cc2086656156c3cf29d887c14a1a62fc2 |
| Added HttpServer class which replaces Service | https://github.com/seem-sky/libhttpserver/commit/1f13f442d0cde5aaf8d11d4aa0ffabeedd817506 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 1f13f44 | https://github.com/seem-sky/libhttpserver/commit/1f13f442d0cde5aaf8d11d4aa0ffabeedd817506 |
| https://github.com/seem-sky/libhttpserver/blob/1f13f442d0cde5aaf8d11d4aa0ffabeedd817506/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/1f13f442d0cde5aaf8d11d4aa0ffabeedd817506 |
| Reduce the header footprint | https://github.com/seem-sky/libhttpserver/commit/ce00077e822aae6ed7962ba58dd471310b824ca9 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| ce00077 | https://github.com/seem-sky/libhttpserver/commit/ce00077e822aae6ed7962ba58dd471310b824ca9 |
| https://github.com/seem-sky/libhttpserver/blob/ce00077e822aae6ed7962ba58dd471310b824ca9/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/ce00077e822aae6ed7962ba58dd471310b824ca9 |
| Added a timeout receive to Socket | https://github.com/seem-sky/libhttpserver/commit/da70e175bbf50474ba4611316b508531a2c76d10 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| da70e17 | https://github.com/seem-sky/libhttpserver/commit/da70e175bbf50474ba4611316b508531a2c76d10 |
| https://github.com/seem-sky/libhttpserver/blob/da70e175bbf50474ba4611316b508531a2c76d10/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/da70e175bbf50474ba4611316b508531a2c76d10 |
| First refactor | https://github.com/seem-sky/libhttpserver/commit/b328a5c32a65c5d71d6bb71cc5a65f59d872a358 |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| b328a5c | https://github.com/seem-sky/libhttpserver/commit/b328a5c32a65c5d71d6bb71cc5a65f59d872a358 |
| https://github.com/seem-sky/libhttpserver/blob/b328a5c32a65c5d71d6bb71cc5a65f59d872a358/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/b328a5c32a65c5d71d6bb71cc5a65f59d872a358 |
| Added a very basic web server impl - for testing only | https://github.com/seem-sky/libhttpserver/commit/63af421050bcf16869a87418a5d87c47e58d0b1b |
| https://github.com/craigminihan |
| craigminihan | https://github.com/seem-sky/libhttpserver/commits?author=craigminihan |
| 63af421 | https://github.com/seem-sky/libhttpserver/commit/63af421050bcf16869a87418a5d87c47e58d0b1b |
| https://github.com/seem-sky/libhttpserver/blob/63af421050bcf16869a87418a5d87c47e58d0b1b/src/libhttpserver/socket.cpp |
| https://github.com/seem-sky/libhttpserver/tree/63af421050bcf16869a87418a5d87c47e58d0b1b |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |