#include "httpsession_p.h"
#include "i18n_l.h"
#include <gwenhywfar/io_socket.h>
#include <gwenhywfar/io_tls.h>
#include <gwenhywfar/io_http.h>
#include <gwenhywfar/io_buffered.h>
#include <gwenhywfar/iomanager.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/gui.h>
#include <assert.h>
Go to the source code of this file.
int GWEN_HttpSession__RecvPacket | ( | GWEN_HTTP_SESSION * | sess, | |
GWEN_BUFFER * | buf, | |||
GWEN_UNUSED int | timeout | |||
) |
Definition at line 563 of file httpsession.c.
References DBG_DEBUG, DBG_ERROR, DBG_INFO, GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_GetUsedBytes(), GWEN_Buffer_new(), GWEN_Buffer_Reset(), GWEN_DB_GetCharValue(), GWEN_DB_GetIntValue(), GWEN_ERROR_BAD_DATA, GWEN_ERROR_EOF, GWEN_ERROR_IO, GWEN_Gui_ProgressLog(), GWEN_Io_Layer_ReadPacketToBuffer(), GWEN_Io_LayerHttp_GetDbHeaderIn(), GWEN_Io_LayerHttp_GetDbStatusIn(), GWEN_LOGDOMAIN, GWEN_LoggerLevel_Error, GWEN_LoggerLevel_Info, GWEN_LoggerLevel_Notice, GWEN_LoggerLevel_Warning, I18N, and NULL.
Referenced by GWEN_HttpSession_RecvPacket().
int GWEN_HttpSession__SetAddress | ( | GWEN_HTTP_SESSION * | sess, | |
GWEN_INETADDRESS * | addr, | |||
const char * | peerAddr | |||
) |
Definition at line 218 of file httpsession.c.
References DBG_ERROR, DBG_ERROR_ERR, DBG_INFO, GWEN_Gui_ProgressLog(), GWEN_InetAddr_GetAddress(), GWEN_InetAddr_SetAddress(), GWEN_InetAddr_SetName(), GWEN_LOGDOMAIN, GWEN_LoggerLevel_Error, GWEN_LoggerLevel_Notice, and I18N.
Referenced by GWEN_HttpSession_Init().