Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sim Caps and Proxies

Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
12-24-2006 11:41
Are you planning on fixing the HTTP proxy support before turning on HTTP access to bulk content through Sim Caps?

I would be happy to help with the coding or testing.

[edit: clarification]

This is about the SL client using connections to port 80 or 443 to access anything (including resources on the sim, such as textures) from any server in the world (including, again, the sim).

From many locations, the ONLY way for any application running inside the firewall to get to these ports is via an explicit HTTP proxy connection.

That is, instead of (assuming the obvious definition of connectMySocket):
CODE

int s = connectMySocket("simfoo.bar.secondlife.com","80");

FILE *sp = fdopen(s, "rw");

fprintf(fp, "GET %s HTTP/1.0\n", "/textures/62718-379...382.tga");


You need to do:
CODE

int s = sonnectMySocket(proxyhost,proxyport);

FILE *sp = fdopen(s, "rw");

fprintf(fp, "GET %s HTTP/1.0\n", "http://simfoo.bar.secondlife.com:80/textures/62718-379...382.tga");


[etc...]
Robin Linden
Linden Lifer
Join date: 25 Nov 2002
Posts: 1,224
12-24-2006 13:29
We'll make sure Zero Linden sees your post. Thanks for the offer to help!
_____________________
Zero Linden
Linden Lab Employee
Join date: 18 Oct 2005
Posts: 22
12-27-2006 09:47
I don't know what you mean by "turning on HTTP access to bulk content through Sim Caps". In my recent blog post I didn't not mean to imply that we would be enabling general HTTP access to any content. Only that a running, logged in viewer would use HTTP for access to some (and eventually much) of the information it needs from a simulator.

I'm guessing you are referring to some problem with proxies and LSL's llHTTPRequest(). If so, I'm not aware of any current problems. When scripts use that call, their HTTP requests do indeed use caching proxy (the common proxy, Squid). Please post / IM / e-mail me details if you know of a problem with it.