-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
annotation updates #7
Open
flrgh
wants to merge
25
commits into
main
Choose a base branch
from
feat/updates
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Properly differentiate some differences between client/server objects 2. Add new `max_send_len`/`max_recv_len` options 3. Add `send_continue()` annotation for resty.websocket.server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Spent an afternoon this weekend doing an incremental update on OpenResty typedefs.
Highlights:
*
resty_core_<thing>
local var to<thing>
@field version string
to various hardcoded values'"foo"'
=>"foo"
)ngx
ngx.socket.tcp:bind()
ngx.socket.udp:bind()
ngx.balancer
set_upstream_tls()
ngx.ssl
parse_der_cert()
parse_der_priv_key()
get_req_ssl_pointer()
export_keying_material()
export_keying_material_early()
get_client_random()
get_tls1_version_str()
returnsngx.ssl.tls_version.string
get_tls1_version()
returnsngx.ssl.tls_version.integer
ngx.ssl.clienthello
get_supported_versions()
set_protocols()
expectsngx.ssl.tls_version.string[]
resty.aes
encrypt()
anddecrypt()
methods accept optionalaad
paramresty.websocket
resty.websocket
toresty.websocket.server
/resty.websocket.client
resty.websocket.new.opts
:max_send_len
max_recv_len
resty.websocket.client.connect.opts
backlog
host
server_name
client_cert
client_priv_key
resty.websocket.server
send_continue()
methodresty.core.time
monotonic_time()
monotonic_msec()
resty.dns.resolver
resty.dns.resolver.nameserver_tuple
uses new tuple typedestroy()
methodresty.upstream.healthcheck
resty.upload
NOTE: Some of the updates here (e.g.
resty.websocket
) are in master but have not yet been in an official OpenResty release just yet. I wish LuaLS had some concept of library/package versions so we could properly differentiate :(