HttpURLConnection function ( URL arg0 ) { HttpURLConnection loc0 = ( HttpURLConnection ) arg0 . openConnection ( ) ; loc0 . setReadTimeout ( TIMEOUT ) ; loc0 . setConnectTimeout ( TIMEOUT ) ; return loc0 ; }
connects to the given http url and configure time out , to avoid infinite hang . concode_field_sep int TIMEOUT concode_elem_sep boolean isUnitTest concode_elem_sep boolean isDevelopmentMode concode_field_sep String getHudsonHome concode_elem_sep int remotePost concode_elem_sep void main concode_elem_sep int run