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

Handle empty message #54

Merged
merged 2 commits into from
Apr 18, 2022
Merged

Handle empty message #54

merged 2 commits into from
Apr 18, 2022

Conversation

mfalt
Copy link
Contributor

@mfalt mfalt commented Apr 6, 2022

Fixes #53

The problem is that the check for putting a completed message in the recvq was only done in the function that handles BodyFrames but no body frame is sent when the message is empty. So I added a check in the processing of HeaderFrame to handle the empty case.

Edit: Sorry about the unnecessary commit, I merged thge old PR into my own fork before you pulled into master. I can recreate the PR if you want.

@mfalt mfalt changed the title Hanfle empty message Handle empty message Apr 6, 2022
@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2022

Codecov Report

Merging #54 (4f654c6) into master (f596fe4) will increase coverage by 0.08%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   82.71%   82.80%   +0.08%     
==========================================
  Files           9        9              
  Lines        1030     1035       +5     
==========================================
+ Hits          852      857       +5     
  Misses        178      178              
Impacted Files Coverage Δ
src/buffered_socket.jl 0.00% <0.00%> (ø)
src/protocol.jl 87.58% <100.00%> (+0.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f596fe4...4f654c6. Read the comment docs.

@tanmaykm tanmaykm merged commit d0243ea into JuliaComputing:master Apr 18, 2022
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.

Empty messages are not retrieved
4 participants