Skip to content
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

Correct the Callback documentation #3

Merged
merged 1 commit into from
Jun 21, 2011

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Jun 21, 2011

The patch contains a correction of the C equivalent code in the Callback example.

@dblock
Copy link
Member

dblock commented Jun 21, 2011

Very nice, thank you. Merging.

dblock added a commit that referenced this pull request Jun 21, 2011
Correct the Callback documentation
@dblock dblock merged commit 6e99ab0 into java-native-access:master Jun 21, 2011
mstyura pushed a commit to mstyura/jna that referenced this pull request Sep 9, 2024
)

Motivation:

Server should be able to return an arbitrarily long stream, i.e. keep
writing data as long as the channel is writable, and resume writing data
when getting the writabilityChanged event.

Modications:
 - Fix infinite loop in QuicheQuicChannel.streamSendMultiple() when
   Quiche.quiche_conn_stream_send() returns 0.
 - Fix StackOverflowError when calling fireChannelReadComplete() when no read happened.
 - Fix IndexOutOfBoundsException when Quiche.quiche_conn_stream_recv() returns Quiche.QUICHE_ERR_DONE.

Result:

Server can send a long stream.

Co-authored-by: Thomas Devanneaux <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants