#Maximum upload size for http_post_string?

1 messages · Page 1 of 1 (latest)

thorny galleon
#

I just tested with up to 4MB of data in the upload of a post event, which should be more than enough for a vast majority of use cases, when you communicate with your server.

Still I wonder, what the maximum is, that GameMaker supports on its end?
One of the rare use cases, where 4MB might not be enough is kind of a cloud sync for complex save games, avatar upload and other image-heavy data.

Anyone knows, how much i can transfer?

harsh urchin
#

HTTP POST itself has no limit and any limits you run into are imposed by either the server or the TCP implementation client-side

#

afaik GM doesn't have an official limit which probably means it's up in the gigabyte range

thorny galleon
#

this is very good news - thanks
as i went up the megabyte range during my tests and when i was far beyond any maximum url-length, i already expected, that it will likely be the int-range (2.1GB)
good to see, you think the same

harsh urchin
#

mhmm

#

max URL length is 2kb iirc