code: private void writePending()
    {
      boolean isEnd;
      
      do {
        isEnd = false;
        
        for (int i = 0; i < _pendingList.size(); i++) {
          Pending pending = _pendingList.get(i);
          
          if (pending.out().canWrite(_connHttp.sequenceWrite())) {
            _pendingList.remove(i--);
            
            pending.write();
            
            if (pending.isEnd()) {
              isEnd = true;
            }
          }
        }
      } while (isEnd);
    }
docs: /*
  @Override
  public void writeNext(OutHttp out, TempBuffer buffer, boolean isEnd)
  {
  if (out.canWrite(_connHttp.sequenceWrite() + 1)) {
  _isClose = out.writeNext(conn().writeStream(), buffer, isEnd);
  
  if (isEnd) {
  writePending();
  }
  }
  else {
  _pendingList.add(new PendingNext(out, buffer, isEnd));
  }
  }