• Dan Melnic's avatar
    Reset the zerocopyReadDisabled_ flag on callback change · 5039adc2
    Dan Melnic authored
    Summary:
    We need to reset the zerocopyReadDisabled_ flag every time we switch between read callbacks since some of them might support a mem store. we verify the support again on the next read attempt.
    
    (Note: this ignores all push blocking failures!)
    
    Reviewed By: yfeldblum
    
    Differential Revision: D33957906
    
    fbshipit-source-id: 37a962c6187502e241288ea179f04ca11c4c27b9
    5039adc2
AsyncSocket.cpp 130 KB