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

bugfix: mistake when linking write_buffer to existing list in socket ser... #18

Merged
merged 2 commits into from Jun 21, 2013

Conversation

kezhuw
Copy link
Contributor

@kezhuw kezhuw commented Jun 21, 2013

...vice

@cloudwu
Copy link
Owner

cloudwu commented Jun 21, 2013

Why? Write buffer is a queue, not a stack.

@kezhuw
Copy link
Contributor Author

kezhuw commented Jun 21, 2013

YES. It is a queue, from head to tail. So new write_buffer shoud be appended after tail, that is what this commit does.

The older code just break the queue. It reassigns 'tail' but without linking new write_buffer to 'tail'.

cloudwu added a commit that referenced this pull request Jun 21, 2013
bugfix: mistake when linking write_buffer to existing list in socket ser...
@cloudwu cloudwu merged commit 65d27f4 into cloudwu:master Jun 21, 2013
@xzzwandi xzzwandi mentioned this pull request Apr 10, 2018
@chengdd1987 chengdd1987 mentioned this pull request May 2, 2018
@DeanHH DeanHH mentioned this pull request Aug 23, 2018
@kuro-karasu kuro-karasu mentioned this pull request Jul 27, 2020
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.

None yet

2 participants