@ -127,7 +127,7 @@ public final class yacyClient {
// sending request
// sending request
result = nxTools . table (
result = nxTools . table (
httpc . wput ( url ,
httpc . wput ( url ,
yacy Core. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
yacy Seed. b64Hash2hexHash ( otherHash ) + ".yacyh" ,
105000 ,
105000 ,
null ,
null ,
null ,
null ,
@ -260,7 +260,7 @@ public final class yacyClient {
"&object=seed" +
"&object=seed" +
"&env=" + seedHash
"&env=" + seedHash
) ,
) ,
yacyCore. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
target . getHexHash ( ) + ".yacyh" ,
10000 ,
10000 ,
null ,
null ,
null ,
null ,
@ -297,7 +297,7 @@ public final class yacyClient {
"&env=" + wordHash +
"&env=" + wordHash +
"&ttl=0"
"&ttl=0"
) ,
) ,
yacyCore. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
target . getHexHash ( ) + ".yacyh" ,
10000 ,
10000 ,
null ,
null ,
null ,
null ,
@ -338,7 +338,7 @@ public final class yacyClient {
final HashMap result = nxTools . table (
final HashMap result = nxTools . table (
httpc . wget (
httpc . wget (
new URL ( querystr ) ,
new URL ( querystr ) ,
yacyCore. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
target . getHexHash ( ) + ".yacyh" ,
6000 ,
6000 ,
null ,
null ,
null ,
null ,
@ -429,7 +429,7 @@ public final class yacyClient {
final HashMap result = nxTools . table (
final HashMap result = nxTools . table (
httpc . wput (
httpc . wput (
new URL ( url ) ,
new URL ( url ) ,
yacyCore. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
targetPeer . getHexHash ( ) + ".yacyh" ,
300000 ,
300000 ,
null ,
null ,
null ,
null ,
@ -564,7 +564,7 @@ public final class yacyClient {
return nxTools . table (
return nxTools . table (
httpc . wput (
httpc . wput (
new URL ( "http://" + address + "/yacy/message.html" ) ,
new URL ( "http://" + address + "/yacy/message.html" ) ,
yacy Core. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
yacy Seed. b64Hash2hexHash ( targetHash ) + ".yacyh" ,
8000 ,
8000 ,
null ,
null ,
null ,
null ,
@ -609,7 +609,7 @@ public final class yacyClient {
try {
try {
final ArrayList v = httpc . wput (
final ArrayList v = httpc . wput (
new URL ( "http://" + address + "/yacy/message.html" ) ,
new URL ( "http://" + address + "/yacy/message.html" ) ,
yacy Core. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
yacy Seed. b64Hash2hexHash ( targetHash ) + ".yacyh" ,
20000 ,
20000 ,
null ,
null ,
null ,
null ,
@ -660,10 +660,11 @@ public final class yacyClient {
// send request
// send request
try {
try {
final URL url = new URL ( "http://" + targetAddress + "/yacy/transfer.html" ) ;
return nxTools . table (
return nxTools . table (
httpc . wput (
httpc . wput (
new URL ( "http://" + targetAddress + "/yacy/transfer.html" ) ,
url ,
yacyCore . seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
url. getHost ( ) , // yacyCore.seedDB.mySeed.getHexHash() + ".yacyh",
8000 ,
8000 ,
null ,
null ,
null ,
null ,
@ -702,9 +703,10 @@ public final class yacyClient {
// sending request
// sending request
try {
try {
final URL url = new URL ( "http://" + targetAddress + "/yacy/transfer.html" ) ;
final ArrayList v = httpc . wput (
final ArrayList v = httpc . wput (
new URL ( "http://" + targetAddress + "/yacy/transfer.html" ) ,
url ,
yacyCore . seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
url. getHost ( ) , // yacyCore.seedDB.mySeed.getHexHash() + ".yacyh",
20000 ,
20000 ,
null ,
null ,
null ,
null ,
@ -789,7 +791,7 @@ public final class yacyClient {
return nxTools . table (
return nxTools . table (
httpc . wput (
httpc . wput (
new URL ( "http://" + address + "/yacy/crawlOrder.html" ) ,
new URL ( "http://" + address + "/yacy/crawlOrder.html" ) ,
yacyCore. seedDB . my Seed. getHexHash ( ) + ".yacyh" ,
target Seed. getHexHash ( ) + ".yacyh" ,
timeout ,
timeout ,
null ,
null ,
null ,
null ,
@ -864,7 +866,7 @@ public final class yacyClient {
"&wordh=" + wordhashes +
"&wordh=" + wordhashes +
"&lurlEntry=" + ( ( entry = = null ) ? "" : crypt . simpleEncode ( entry . toString ( ) , key ) )
"&lurlEntry=" + ( ( entry = = null ) ? "" : crypt . simpleEncode ( entry . toString ( ) , key ) )
) ,
) ,
yacyCore. seedDB . my Seed. getHexHash ( ) + ".yacyh" ,
target Seed. getHexHash ( ) + ".yacyh" ,
60000 ,
60000 ,
null ,
null ,
null ,
null ,
@ -1019,7 +1021,7 @@ public final class yacyClient {
try {
try {
final ArrayList v = httpc . wput (
final ArrayList v = httpc . wput (
new URL ( "http://" + address + "/yacy/transferRWI.html" ) ,
new URL ( "http://" + address + "/yacy/transferRWI.html" ) ,
yacyCore. seedDB . my Seed. getHexHash ( ) + ".yacyh" ,
target Seed. getHexHash ( ) + ".yacyh" ,
timeout ,
timeout ,
null ,
null ,
null ,
null ,
@ -1081,7 +1083,7 @@ public final class yacyClient {
try {
try {
final ArrayList v = httpc . wput (
final ArrayList v = httpc . wput (
new URL ( "http://" + address + "/yacy/transferURL.html" ) ,
new URL ( "http://" + address + "/yacy/transferURL.html" ) ,
yacyCore. seedDB . my Seed. getHexHash ( ) + ".yacyh" ,
target Seed. getHexHash ( ) + ".yacyh" ,
timeout ,
timeout ,
null ,
null ,
null ,
null ,
@ -1099,7 +1101,7 @@ public final class yacyClient {
result . put ( "urlPayloadSize" , new Integer ( urlPayloadSize ) ) ;
result . put ( "urlPayloadSize" , new Integer ( urlPayloadSize ) ) ;
return result ;
return result ;
} catch ( Exception e ) {
} catch ( Exception e ) {
yacyCore . log . logSevere ( "yacyClient.transfer RWI error:" + e . getMessage ( ) ) ;
yacyCore . log . logSevere ( "yacyClient.transfer URL error:" + e . getMessage ( ) ) ;
return null ;
return null ;
}
}
}
}
@ -1120,7 +1122,7 @@ public final class yacyClient {
try {
try {
final ArrayList v = httpc . wput (
final ArrayList v = httpc . wput (
new URL ( "http://" + address + "/yacy/profile.html" ) ,
new URL ( "http://" + address + "/yacy/profile.html" ) ,
yacyCore. seedDB . my Seed. getHexHash ( ) + ".yacyh" ,
target Seed. getHexHash ( ) + ".yacyh" ,
10000 ,
10000 ,
null ,
null ,
null ,
null ,
@ -1160,7 +1162,7 @@ public final class yacyClient {
"&count=10" +
"&count=10" +
"&resource=global" +
"&resource=global" +
"&query=" + wordhashe ) ,
"&query=" + wordhashe ) ,
yacyCore. seedDB . mySeed . getHexHash ( ) + ".yacyh" ,
target . getHexHash ( ) + ".yacyh" ,
5000 ,
5000 ,
null ,
null ,
null ,
null ,