hSetEncoding only sets the encoding for the read side of a duplex Handle
For example, calling hSetEncoding
on a socket only works for reading, not writing. Can be worked around by calling socketToHandle
manually to create a WriteMode
socket.
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | high |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |