Title: uvloop strictly needs SO_REUSEPORT · Issue #550 · MagicStack/uvloop · GitHub
Open Graph Title: uvloop strictly needs SO_REUSEPORT · Issue #550 · MagicStack/uvloop
X Title: uvloop strictly needs SO_REUSEPORT · Issue #550 · MagicStack/uvloop
Description: uvloop expects that SO_REUSEPORT is supported everywhere. Unfortunately, there are some platforms where SO_REUSEPORT is not supported. For example illumos. Error message: uvloop/loop.c: In function '__pyx_gb_6uvloop_4loop_4Loop_57generat...
Open Graph Description: uvloop expects that SO_REUSEPORT is supported everywhere. Unfortunately, there are some platforms where SO_REUSEPORT is not supported. For example illumos. Error message: uvloop/loop.c: In function...
X Description: uvloop expects that SO_REUSEPORT is supported everywhere. Unfortunately, there are some platforms where SO_REUSEPORT is not supported. For example illumos. Error message: uvloop/loop.c: In function...
Opengraph URL: https://github.com/MagicStack/uvloop/issues/550
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"uvloop strictly needs SO_REUSEPORT","articleBody":"uvloop expects that `SO_REUSEPORT` is supported everywhere. Unfortunately, there are some platforms where `SO_REUSEPORT` is not supported. For example illumos.\r\n\r\nError message:\r\n```\r\nuvloop/loop.c: In function '__pyx_gb_6uvloop_4loop_4Loop_57generator3':\r\nuvloop/loop.c:33764:46: error: 'SO_REUSEPORT' undeclared (first use in this function); did you mean 'SO_REUSEADDR'?\r\n33764 | __pyx_t_5 = __Pyx_PyInt_From_int(SO_REUSEPORT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1778, __pyx_L32_error)\r\n | ^~~~~~~~~~~~\r\n | SO_REUSEADDR\r\nuvloop/loop.c:33764:46: note: each undeclared identifier is reported only once for each function it appears in\r\n```\r\n\r\n* **uvloop version**: 0.17.0\r\n* **Python version**: 3.9.16\r\n* **Platform**: OpenIndiana/illumos\r\n* **Can you reproduce the bug with `PYTHONASYNCIODEBUG` in env?**: N/A\r\n* **Does uvloop behave differently from vanilla asyncio? How?**: N/A\r\n\r\nCould you please detect the `SO_REUSEPORT` support during build and do not try to use `SO_REUSEPORT` if it is not available?\r\n\r\nThank you.","author":{"url":"https://github.com/mtelka","@type":"Person","name":"mtelka"},"datePublished":"2023-07-19T12:37:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/550/uvloop/issues/550"}
| 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:4e66a711-c8a9-da3a-af14-d90ab8ae826b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCD8:3B1686:32E9FB:45AA8C:6964EE7D |
| html-safe-nonce | 9f5a81df2e9ae5edcd9148ca57b2715707eda030adedeba4439f050de20db357 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0Q4OjNCMTY4NjozMkU5RkI6NDVBQThDOjY5NjRFRTdEIiwidmlzaXRvcl9pZCI6IjgyMDk1NzQ2NjUxNTEzNzcwMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 578658e42f0aaa6d953fc68942f05670e93a3b6108b35f8721db7a7731198fe3 |
| hovercard-subject-tag | issue:1811858669 |
| 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/MagicStack/uvloop/550/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae3401dbc145b58d6d26478d92e96c925a96d0163a8f96fd97c4f5fdacba065f/MagicStack/uvloop/issues/550 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae3401dbc145b58d6d26478d92e96c925a96d0163a8f96fd97c4f5fdacba065f/MagicStack/uvloop/issues/550 |
| og:image:alt | uvloop expects that SO_REUSEPORT is supported everywhere. Unfortunately, there are some platforms where SO_REUSEPORT is not supported. For example illumos. Error message: uvloop/loop.c: In function... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mtelka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 53cd8ae9b65b7c4a0ad545ffeb3216839259a92733857ba426906c0655c5419d |
| turbo-cache-control | no-preview |
| go-import | github.com/MagicStack/uvloop git https://github.com/MagicStack/uvloop.git |
| octolytics-dimension-user_id | 14324950 |
| octolytics-dimension-user_login | MagicStack |
| octolytics-dimension-repository_id | 45766550 |
| octolytics-dimension-repository_nwo | MagicStack/uvloop |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45766550 |
| octolytics-dimension-repository_network_root_nwo | MagicStack/uvloop |
| 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 | c140758368c0a01881f61b83770bd75cfe81e2c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width