Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
Replace the minfraud server list
Browse files Browse the repository at this point in the history
  • Loading branch information
borisz committed Apr 17, 2012
1 parent 1a3ba08 commit 238001a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@
Revision history for MaxMind minFraud Java API
1.51 Apr 17th 2012
- Replaced the minfraud server list with api-us-east.maximind.com and
api-us-west.maxmind.com ( Boris Zentner )
1.50 Mar 13th 2012
- Check countryMatch instead of score for successful results. Score is
only avail for minfraud_version 1.3 ( Boris Zentner )
Expand Down
6 changes: 3 additions & 3 deletions com/maxmind/ws/HTTPBase.java
Expand Up @@ -31,8 +31,8 @@
//import HttpTimeoutHandler;

public class HTTPBase{
int numservers = 3;
static String[] server = {"minfraud3.maxmind.com", "minfraud1.maxmind.com","minfraud2.maxmind.com"};
int numservers = 2;
static String[] server = {"api-us-east.maxmind.com", "api-us-west.maxmind.com"};
String url;
public HashMap queries;
public HashMap allowed_fields;
Expand Down Expand Up @@ -266,7 +266,7 @@ boolean querySingleServer(String server) {
query_data[n] = new NameValuePair(key,value);
n++;
}
query_data[n] = new NameValuePair("clientAPI","Java/1.50");
query_data[n] = new NameValuePair("clientAPI","Java/1.51");
// scheme already has the name of the proctol
// append the domain name of the server, url of the web service
// and the query string to the string named url2
Expand Down

0 comments on commit 238001a

Please sign in to comment.