| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,33 @@ | ||
| DEF UV_STREAM_RECV_BUF_SIZE = 256000 # 250kb | ||
| cdef enum: | ||
| UV_STREAM_RECV_BUF_SIZE = 256000 # 250kb | ||
|
|
||
| DEF FLOW_CONTROL_HIGH_WATER = 64 # KiB | ||
| DEF FLOW_CONTROL_HIGH_WATER_SSL_READ = 256 # KiB | ||
| DEF FLOW_CONTROL_HIGH_WATER_SSL_WRITE = 512 # KiB | ||
| FLOW_CONTROL_HIGH_WATER = 64 # KiB | ||
| FLOW_CONTROL_HIGH_WATER_SSL_READ = 256 # KiB | ||
| FLOW_CONTROL_HIGH_WATER_SSL_WRITE = 512 # KiB | ||
|
|
||
| DEF DEFAULT_FREELIST_SIZE = 250 | ||
| DEF DNS_PYADDR_TO_SOCKADDR_CACHE_SIZE = 2048 | ||
| DEFAULT_FREELIST_SIZE = 250 | ||
| DNS_PYADDR_TO_SOCKADDR_CACHE_SIZE = 2048 | ||
|
|
||
| DEF DEBUG_STACK_DEPTH = 10 | ||
| DEBUG_STACK_DEPTH = 10 | ||
|
|
||
|
|
||
| DEF __PROCESS_DEBUG_SLEEP_AFTER_FORK = 1 | ||
| __PROCESS_DEBUG_SLEEP_AFTER_FORK = 1 | ||
|
|
||
|
|
||
| DEF LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5 | ||
| LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5 | ||
| SSL_READ_MAX_SIZE = 256 * 1024 | ||
|
|
||
|
|
||
| # Number of seconds to wait for SSL handshake to complete | ||
| # The default timeout matches that of Nginx. | ||
| DEF SSL_HANDSHAKE_TIMEOUT = 60.0 | ||
| # Number of seconds to wait for SSL shutdown to complete | ||
| # The default timeout mimics lingering_time | ||
| DEF SSL_SHUTDOWN_TIMEOUT = 30.0 | ||
| DEF SSL_READ_MAX_SIZE = 256 * 1024 | ||
| cdef extern from *: | ||
| ''' | ||
| // Number of seconds to wait for SSL handshake to complete | ||
| // The default timeout matches that of Nginx. | ||
| #define SSL_HANDSHAKE_TIMEOUT 60.0 | ||
|
|
||
| // Number of seconds to wait for SSL shutdown to complete | ||
| // The default timeout mimics lingering_time | ||
| #define SSL_SHUTDOWN_TIMEOUT 30.0 | ||
| ''' | ||
|
|
||
| const float SSL_HANDSHAKE_TIMEOUT | ||
| const float SSL_SHUTDOWN_TIMEOUT |
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityAm curious whether it would make sense to make this a Cython enum (or if there was some issue seen doing that)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityYeah, I think this is a good suggestion - it pretty much generates the same C code.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityThanks Fantix! 🙏
Submitted a PR: #634
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.