Skip to content

Fix /unlist request

Felice D'Angelo requested to merge Felicia.iso/SRB2:fix-unlist-request into next

Currently /unlist requests to the Master Server set CURLOPT_CUSTOMREQUEST to "POST" to set the request as a POST request. This MR instead sets the more appropriate CURLOPT_POST to 1.

This MR also sets CURLOPT_POSTFIELDSIZE to 0 to include the Content-Length field in the request, which would otherwise be completely missing and potentially cause issues.

Merge request reports

Loading