Fixed bug in .net loader. Added hostname to file fetch.

This commit is contained in:
Don BURNS
2004-11-27 19:20:32 +00:00
parent 1743fccf14
commit 03b9ebe56a

View File

@@ -272,7 +272,7 @@ class NetReader : public osgDB::ReaderWriter
return ReadResult::FILE_NOT_FOUND;
}
*sio << "GET /" << fileName << " HTTP/1.1\n" << "Host:\n\n";
*sio << "GET /" << fileName << " HTTP/1.1\n" << "Host: " << hostname << "\n\n";
sio->flush();
char linebuff[256];