かちゅでも書けるようにできるかもしれない修正案
かちゅ等で串ささないと書き込めないのは、recvに失敗しているのが原因かと…

YMain.cppファイル
bool YMain::Execute()
{
...省略...

//D
  int conectLength = 0;
  //長さ指定があれば、その長さ分読み込む.
  if ( HeaderParser.ContentLength.IsEnable() )
  {
    conectLength = HeaderParser.ContentLength.getValue();
    const int conectStart = secutiveReturnCode.getConectStart();
    //実は既に読み込んでいないかチェック.
    if (readByte < conectLength+conectStart)
    {
      StreamCheckerForLength scfl( conectLength+conectStart-readByte );
      readByte += rsu.ReadBuffer(buffer+readByte , THREAD_WORK_AREA - readByte ,&scfl);
    }
  }

...省略...
}