/**
* Copyright (c) 2016-2019 ants All rights reserved.
*
*
* 版权所有,侵权必究!
*/
package io.ants.common.utils;
import com.alibaba.druid.util.StringUtils;
static ngx_uint_t get_exist_target_in_uri(ngx_http_request_t* r) {
ngx_log_error(NGX_LOG_DEBUG, r->connection->log, 0, "[%s %d]%Z", __FUNCTION__, __LINE__);
&
static ngx_uint_t get_exist_target_in_cookies(ngx_http_request_t* r, char* cookie_value) {
//ngx_log_error(NGX_LOG_DEBUG, r->connection->log, 0, "{%s}[%s %d]%Z"
static ngx_uint_t get_ip_addr_crc(ngx_connection_t* c, int algorithm) {
ngx_int_t ip_type = c->sockaddr->sa_family;// r->connection->sockaddr->sa_family;
&nb
static void free_resource(ngx_cycle_t* cycle) {
ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "[%s %d]%Z", __FUNCTION__, __LINE__);
//return;
/*
1 get ngx_http_core_main_
public static String okHttpPost(String url,String paramJsonString){
try{
OkHttpClient client = new OkHttpClient().newBuilder().buil