Fixed bug in .net loader. Added hostname to file fetch.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user