Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix return from kws_raw_write on fragmented frame sending (#214)
* kws_raw_write should return the total number of bytes sent, not just the last fragment sent * Adjustment to make sure returns of -1 are captured as well, and fix missing spot in SSL block * Added zero to be inclusive as successful write when using raw sockets, but according to SSL lib 0 is an error so the behavior is slightly different using SSL versus not on the writing returns * Adjust the kws_write_frame so that when it sees a return <=0 it returns the error instead of the total written bytes
- Loading branch information