FreeRDP/FreeRDP — pull request #2188 by mdhorda (2014-11-05 19:53:33+00:00)
Title: Ignore T.128 FlowPDU in Share Control header

According to the Microsoft RDP specification, T.128 flow control PDUs should be ignored when reading Share Control headers. (http://msdn.microsoft.com/en-us/library/cc240576.aspx). This patch checks if we got a flow control PDU (length = 0x8000) and advances the stream to ignore the PDU. The flow control PDU specification is available at http://www.itu.int/rec/T-REC-T.128-199802-S/en.