ac10b96882
Fixed memory access after delete in Domain Server
2022-07-18 20:19:08 +02:00
Dale Glass
b3722b050c
Merge pull request #1438 from namark/settings-null-deref-fix
...
Fixed empty POST request to settings.json crashing the Domain server.
2021-11-06 19:31:34 +01:00
Dale Glass
b4727adecc
Update comment as per review
2021-11-04 23:53:56 +01:00
namark
7fac5dd8b8
Preserving _requestContent invariant in HTTPConnection class,
...
in the case when Content-Length header is empty, to avoid null
dereference in the requestContent() getter.
2021-11-05 00:16:59 +04:00
Dale Glass
5759c76154
Fix mime type for .htm and .html files
...
The code forces text/html for .shtml files, but if .html ones were used,
it would look up in the mime database and come up with application/x-extension-html
Web browsers try downloading that instead of rendering it.
2021-11-03 01:12:48 +01:00
Kalila L
c266b003fb
Get Domain creation working; revise metaverse forwarding. (TLS init fail issue present)
2021-09-10 02:06:50 -04:00
Dale Glass
ae9f2aa1ee
Update slots to the new syntax, use QAbstractSocket::errorOccurred
2021-08-12 22:53:24 +02:00
Dale Glass
240e070a46
Log authentication events in the domain server
...
This uses the vircadia.domain_server.auth logging category.
2021-04-03 17:29:51 +02:00
Dale Glass
443d769eac
Make it possible to turn the Prometheus exporter on and off
...
The settings are available from the domain settings page.
2020-06-07 02:47:39 +02:00
Roxanne Skelly
03b146cfb2
fix issue with .json.gz files failing to upload properly
2019-07-26 13:55:59 -07:00
Stephen Birarda
499aa4ad13
404 malformed agent script requests, check doc root
2018-07-18 15:22:45 -07:00
Clement
20f33d9cbc
CR
2018-05-24 17:45:10 -07:00
Clement
5f41505846
Store big web requests on disk
2018-05-24 17:30:32 -07:00
Clement
19100c9550
Coding Standard
...
Spacing
Self-Sufficient Headers
2018-05-24 17:30:32 -07:00
Clement
e096ff91f6
Explicitely manage HTTPManager lifetime
2018-05-24 17:30:32 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Ryan Huffman
fdca6e0832
Update direct _requestHeaders access to be consistent with other reads
2018-03-16 15:28:27 -07:00
Ryan Huffman
3a98cf284f
Fix DS not handling lowercase header keys
2018-03-16 14:30:03 -07:00
Ryan Huffman
27c26bab86
Fix ambiguous int64_t in HTTPConnection
2018-02-16 13:57:38 -08:00
Ryan Huffman
bb8caa0ce3
Update HTTPConnection to not use QIODevice when given a QByteArray
2018-02-16 13:07:45 -08:00
Ryan Huffman
145a8b385b
Move HTTP_RESPONSE_CHUNK_SIZE into lambda for http response
2018-02-15 10:22:35 -08:00
Ryan Huffman
2cfa91be06
Add memory include to HTTPConnection
2018-02-15 10:22:35 -08:00
Ryan Huffman
8a69c69bec
CR
2018-02-15 10:22:35 -08:00
Ryan Huffman
8b07e7e28f
Add backup DS APIs
...
Add backup apis
2018-02-15 10:22:35 -08:00
Stephen Birarda
6240181474
initial separation of content settings and domain settings
2018-02-14 12:09:56 -08:00
Ryan Huffman
3a9c364837
Fix domain server label not handling spaces correctly
2017-11-08 13:09:42 -08:00
Ryan Huffman
c42ef4f88c
Update most DS API forwarding APIs to use a single forwarding function
2017-10-27 15:53:50 -07:00
Ryan Huffman
7dc475c695
Update domain server settings
...
Move requests that require access token to go through DS
Update various styling and ease of use on DS settings page
Update domain server settings
CP
CP
2017-10-27 11:49:34 -07:00
Seth Alves
87dbfa7e47
add -Wsuggest-override to compile flags and deal with fallout
2016-08-18 09:51:41 -07:00
Atlante45
6fd5176474
Pospone logging of the shutdown reason
...
This makes it more obvious to the log reader why the DS went
down.
2016-01-21 17:54:10 -08:00
Ryan Huffman
4851def51c
Add status HTTP server to AC Monitor
2016-01-08 10:35:04 -08:00
Stephen Birarda
08f42c08d9
use a ternary for single assignment
2015-12-17 10:54:32 -08:00
Stephen Birarda
286b984d6f
serve SHTML files with HTML MIME type
2015-12-17 10:48:33 -08:00
Brad Hefta-Gaub
456da661ff
implement support to download the persist file from entity server status page
2015-11-18 17:30:07 -08:00
Stephen Birarda
0fc2713be1
don't request a cert from peer in HTTPSManager
2015-08-26 12:40:09 -07:00
Stephen Birarda
4b95d54955
remove the explicit failure test
2015-08-21 14:55:24 -07:00
Stephen Birarda
0fbbfb77d1
exit with a code to indicate error
2015-08-21 14:42:05 -07:00
Stephen Birarda
3e4a05a57b
leave the listen check but queue Application quit
2015-08-21 14:30:41 -07:00
Stephen Birarda
34b3fb1c0c
Revert "force the HTTPManager to listen on IPv4"
...
This reverts commit 220ad189a0
.
2015-08-21 14:27:17 -07:00
Stephen Birarda
220ad189a0
force the HTTPManager to listen on IPv4
2015-08-21 14:16:34 -07:00
Leonardo Murillo
129761c002
making qtimer interval a const
2015-08-20 08:10:19 -06:00
Leonardo Murillo
2c23dab2e7
More specific logging
2015-08-20 08:03:37 -06:00
Leonardo Murillo
f87f3eb033
Typo
2015-08-20 08:02:45 -06:00
Leonardo Murillo
2b26f302fd
Better handling of socket binding
2015-08-20 08:01:33 -06:00
Seth Alves
9014397167
try again without macro
2015-04-07 09:59:04 -07:00
Seth Alves
d4461f1ecb
put avatars and embedded-webserver and entities logging into their own QLoggingCategory
2015-04-06 16:22:54 -07:00
Sam Gateau
738369e21f
Replacing glutSolidSphere by a cached Geometry
...
Instead of calling glutSolidSphere, just call Application::getInstance()->getGeometryCache()->renderSphere(...)
- replaced all the instances of "glutSolidSphere"
- Changed the atmosphere shaders so instead of drawing a sphere of the size of the atmosphere, we draw a unit sphere, the vertices get scaled at the right radius in th vertex shader using fOuterRadius
2014-10-03 16:55:58 -07:00
Stephen Birarda
4749fdb0ba
allow calls to HTTPManager to skip the subHandler and ask for direct processing
2014-10-02 10:38:46 -07:00
Stephen Birarda
1903fff45c
hide remote socket closed error message in HTTPConnection
2014-07-21 17:03:09 -07:00
Stephen Birarda
f45a509508
initial hook-in of OAuth authentication for DS web pages
2014-07-21 16:54:27 -07:00