"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/spdy/h2stream.cpp" between
openlitespeed-1.6.3.src.tgz and openlitespeed-1.6.4.src.tgz

About: OpenLiteSpeed is a high-performance, lightweight HTTP server with optional HTTP/2 support (open sourve version of the commercial LiteSpeed Web Server). Sources.

h2stream.cpp  (openlitespeed-1.6.3.src.tgz):h2stream.cpp  (openlitespeed-1.6.4.src.tgz)
skipping to change at line 264 skipping to change at line 264
if (getState() == HIOS_DISCONNECTED) if (getState() == HIOS_DISCONNECTED)
return 0; return 0;
closeEx(); closeEx();
m_pH2Conn->recycleStream(this); m_pH2Conn->recycleStream(this);
return 0; return 0;
} }
int H2Stream::flush() int H2Stream::flush()
{ {
LS_DBG_L(this, "H2Stream::flush()"); LS_DBG_L(this, "H2Stream::flush()");
m_pH2Conn->wantFlush();
return LS_DONE; return LS_DONE;
} }
int H2Stream::getDataFrameSize(int wanted) int H2Stream::getDataFrameSize(int wanted)
{ {
if ((m_pH2Conn->isOutBufFull()) || (0 >= m_iWindowOut)) if ((m_pH2Conn->isOutBufFull()) || (0 >= m_iWindowOut))
{ {
setFlag(HIO_FLAG_PAUSE_WRITE | HIO_FLAG_WANT_WRITE, 1); setFlag(HIO_FLAG_PAUSE_WRITE | HIO_FLAG_WANT_WRITE, 1);
if (next() == NULL) if (next() == NULL)
m_pH2Conn->add2PriorityQue(this); m_pH2Conn->add2PriorityQue(this);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)