Changeset 17 in cheroxy for trunk/src/CRXHttpRequest.cpp


Ignore:
Timestamp:
11/06/12 16:28:09 (11 years ago)
Author:
cheese
Message:

#1 fix crash bug at some sites like http://msdn.com .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/CRXHttpRequest.cpp

    r6 r17  
    88#include "CRXHttpRequest.h"
    99
    10 #include <iostream>
    1110#include <stdio.h>
    1211#include <stdlib.h>
    1312
    1413CRXHttpRequest::CRXHttpRequest (void)
    15     : mMethod       (""),
    16       mUrl          (""),
    17       mHttpVersion  (""),
    18       mProtocol     (""),
    19       mHost         (""),
     14    :
    2015      mPort         (0)
    2116{
     
    6560
    6661    char        aMethod[64]         = {0x00, };
    67     char        aUrl[1024        = {0x00, };
     62    char        aUrl[1024 * 4]      = {0x00, };
    6863    char        aHttpVersion[64]    = {0x00, };
    6964
Note: See TracChangeset for help on using the changeset viewer.