[GB.XML.RPC]
BUG: miniServer would give an out-of-bound if content-length is wrong git-svn-id: svn://localhost/gambas/trunk@5802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
7181a4f6ba
commit
040cd397fa
@ -345,13 +345,7 @@ Public Sub Socket_Read()
|
||||
Wait 0.005
|
||||
Next
|
||||
|
||||
' Content-Length and data size doesn't match
|
||||
If cLen <> hLen[Bucle] Then
|
||||
hError(hS, "413 Request Entity Too Large")
|
||||
RemoveSocket(hS)
|
||||
End If
|
||||
|
||||
If cLen = hLen[Bucle] Then
|
||||
If cLen = hLen[Bucle] Then
|
||||
ProcessQuery(hS, hBuffer[Bucle])
|
||||
Return
|
||||
Else
|
||||
|
Loading…
x
Reference in New Issue
Block a user