ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
330 stars 89 forks source link

Two second form POST delay in ingame browser #94

Closed ryzom-pipeline closed 10 years ago

ryzom-pipeline commented 10 years ago

Original report by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).


LibWWW has a function that allows to lower POST/PUT delay. It's probably oversight in original sources (back then browser was not used that much) that it was never used.

This patch lowers delay to 50ms. Setting it to 21ms seemed to be giving some odd timeouts (POST request happened successfully, but ig browser displayed timeout)

This still needs to be tested on windows build.

ryzom-pipeline commented 10 years ago

Original comment by Matthew Lagoe (Bitbucket: botanic, GitHub: botanic).


Fixed in 041c0e9

Made first value 250ms and second try 3000, that should make it more responsive initially but still allow for the slower fallback if necessary.

As ryzom is an international game 250ms may even be too low for most international people to notice this change.

we will need to keep an eye on performance for this

ryzom-pipeline commented 10 years ago

Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).


Yeah those values work too.

Thanks,