-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify basic_socket<T>'s buffer management
Now we read all the tokens without interruptions (i.e. `std::copy_n`/`set_buffer` magic). And we only do the trickery with `field_name` token if we get `error_insufficient_data` value/token. It should be much faster too.
- Loading branch information
1 parent
52af247
commit dc1dfee
Showing
1 changed file
with
21 additions
and
47 deletions.
There are no files selected for viewing
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