Thread [HTTP::Async] in Verbindung mit RewriteRule in der .htaccess (30 answers)
Opened by bianca at 2016-03-04 17:02

bianca
 2016-03-05 10:50
#184045 #184045
User since
2009-09-13
6980 Artikel
BenutzerIn

user image
2016-03-05T08:34:02 GwenDragon
Redirects kann HTTP::Async folgen bis zu 7 Redirects, höher zu setzen mit max_redirect();

Es ist ja höchstens einer, ist also nicht das Problem.

2016-03-05T08:34:02 GwenDragon
Hast du Net::HTTPS::NB instaliert, für https ist das nötig.

Ja, ist installiert, hab es nochmal separat mit use Net::HTTPS::NB eingebunden, ändert nichts, bleibt beim 503.

2016-03-05T08:34:02 GwenDragon
Hast du auch $async->ssl_options(...); probiert?

Ja, unmittelbar hinter $generiere_objekt->(\$async) eingesetzt bringt es:
Quote
Can't use string ("verify_hostname") as a HASH ref while "strict refs" in use at C:/strawberry/perl/site/lib/HTTP/Async.pm line 836.
HTTP::Async INTERNAL ERROR: 'id_opts' not empty at C:/strawberry/perl/site/lib/HTTP/Async.pm line 539.
HTTP::Async::DESTROY(HTTP::Async=HASH(0x2de06b8)) called at C:/strawberry/perl/site/lib/HTTP/Async.pm line 836
eval {...} called at C:/strawberry/perl/site/lib/HTTP/Async.pm line 836

Setze ich es hinter $id_entfernt = $async->add($request) kommt zwar kein Fehler mehr aber es ändert auch nichts, es bleibt bei 503.
10 print "Hallo"
20 goto 10

View full thread [HTTP::Async] in Verbindung mit RewriteRule in der .htaccess