when I use CreateHttpConnector function, passing host as parameter being greater than char *MAX_HOST_LEN, then it will cause
Segmentation fault.
The implementation must check if the host is shorter than char *MAX_HOST_LEN.
like
if( strlen(host)>MAX_HOST_LEN ){
return 1
}