"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/http/hiostream.h" between
openlitespeed-1.5.6.src.tgz and openlitespeed-1.6.0.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.

hiostream.h  (openlitespeed-1.5.6.src.tgz):hiostream.h  (openlitespeed-1.6.0.src.tgz)
skipping to change at line 22 skipping to change at line 22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * * GNU General Public License for more details. *
* * * *
* You should have received a copy of the GNU General Public License * * You should have received a copy of the GNU General Public License *
* along with this program. If not, see http://www.gnu.org/licenses/. * * along with this program. If not, see http://www.gnu.org/licenses/. *
*****************************************************************************/ *****************************************************************************/
#ifndef HIOSTREAM_H #ifndef HIOSTREAM_H
#define HIOSTREAM_H #define HIOSTREAM_H
#include <inttypes.h> #include <inttypes.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/types.h> #include <sys/types.h>
#include <edio/inputstream.h> #include <edio/inputstream.h>
#include <edio/outputstream.h> #include <edio/outputstream.h>
#include <log4cxx/logsession.h> #include <log4cxx/logsession.h>
#include <lsdef.h> #include <lsdef.h>
#include <lsr/ls_types.h> #include <lsr/ls_types.h>
class IOVec; class IOVec;
class Aiosfcb; class Aiosfcb;
skipping to change at line 57 skipping to change at line 59
HIOS_RESET HIOS_RESET
}; };
enum HiosProtocol enum HiosProtocol
{ {
HIOS_PROTO_HTTP = 0, HIOS_PROTO_HTTP = 0,
HIOS_PROTO_SPDY2 = 1, HIOS_PROTO_SPDY2 = 1,
HIOS_PROTO_SPDY3 = 2, HIOS_PROTO_SPDY3 = 2,
HIOS_PROTO_SPDY31 = 3, HIOS_PROTO_SPDY31 = 3,
HIOS_PROTO_HTTP2 = 4, HIOS_PROTO_HTTP2 = 4,
HIOS_PROTO_QUIC = 5,
HIOS_PROTO_MAX HIOS_PROTO_MAX
}; };
#define HIO_FLAG_PEER_SHUTDOWN (1<<0) #define HIO_FLAG_PEER_SHUTDOWN (1<<0)
#define HIO_FLAG_LOCAL_SHUTDOWN (1<<1) #define HIO_FLAG_LOCAL_SHUTDOWN (1<<1)
#define HIO_FLAG_WANT_READ (1<<2) #define HIO_FLAG_WANT_READ (1<<2)
#define HIO_FLAG_WANT_WRITE (1<<3) #define HIO_FLAG_WANT_WRITE (1<<3)
#define HIO_FLAG_ABORT (1<<4) #define HIO_FLAG_ABORT (1<<4)
#define HIO_FLAG_PEER_RESET (1<<5) #define HIO_FLAG_PEER_RESET (1<<5)
#define HIO_FLAG_HANDLER_RELEASE (1<<6) #define HIO_FLAG_HANDLER_RELEASE (1<<6)
skipping to change at line 96 skipping to change at line 99
struct ConnInfo struct ConnInfo
{ {
ClientInfo *m_pClientInfo; ClientInfo *m_pClientInfo;
union union
{ {
HioCrypto *m_pCrypto; HioCrypto *m_pCrypto;
struct ssl_st *m_pSsl; struct ssl_st *m_pSsl;
}; };
const ServerAddrInfo *m_pServerAddrInfo; const ServerAddrInfo *m_pServerAddrInfo;
char m_serverAddr[sizeof(struct sockaddr_in6)];
unsigned int m_remotePort; unsigned int m_remotePort;
}; };
class HioStream : public InputStream, public OutputStream, class HioStream : public InputStream, public OutputStream,
public LogSession public LogSession
{ {
public: public:
HioStream() HioStream()
{ {
 End of changes. 3 change blocks. 
0 lines changed or deleted 4 lines changed or added

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