|Anonymous | Login | Signup for a new account||2013-05-18 19:51 UTC|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006021||opensim||[REGION] Specific OpenSim Module||public||2012-05-13 21:29||2012-05-15 23:22|
|Platform||x86_64||OS||Ubuntu Linux||OS Version||11.10|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0006021: [PATCH] smtp fixes: email size limit mismatches documentation and is not configurable, email pause time incorrectly implemented.|
|Description||(borrowing from commit log...)|
This patch has modifications for SMTP in OpenSimulator.
Email size limit was fixed (was out of step with documentation at 1024, so boosted to 4096).
Added configuration item for maximum email size.
Redundant sleep inside email module was fixed (LSL Api was already sleeping).
Added sleep time configuration item for snooze between email sending for LSL Api.
Added two new configuration items (email_max_size and email_pause_time) into the example OpenSim.ini, plus fixed a spelling error (llimits) and odd tabbing.
|Steps To Reproduce||Previous behavior cuts off email size at 1024 total bytes, including subject+body. Patch sets it to 4096 bytes by default (as documented on LSL pages), but also makes the size limit configurable.|
Further, many odd problems were occurring due to sleep time. There turned out to be a redundant 10 second sleep in EmailModule; the LSLApi was already sleeping 20 seconds. (Note that in my tests, even sleeping 20 seconds seems to cause problems when multiple emails are being sent by same script, but I left this as the default since that's what's documented.)
So, earlier behavior actually implemented a 30 second sleep.
(Odd problems with multiple emails in a row plus large sleep times may possibly point to other issues for scripts that sleep a long time. With a 1 second sleep duration between emails, they cranked along just fine and never froze. With the documentation-specified 20 second sleep duration, one or two emails would be sent fine, but then script never regained control; a call to llSendEmail would just never return to the calling script.)
|Additional Information||Configuration items were added for the size limit and email snooze time, and examples were added to the OpenSim.ini.example.|
|Tags||No tags attached.|
|Git Revision or version number||r/18996 i believe|
|Run Mode||Grid (Multiple Regions per Sim)|
|Environment||Mono / Linux64|
|Attached Files||0001-Modifications-for-SMTP-in-OpenSimulator.patch [^] (8,918 bytes) 2012-05-13 21:29 [Show Content]|
Applied the patch - Thanks!
Will leave it open a couple of days for comments.
|Moving to resolved for clarity (one can still comment and change status if necessary). Thanks fred.|
|2012-05-13 21:29||fred huffhines||New Issue|
|2012-05-13 21:29||fred huffhines||File Added: 0001-Modifications-for-SMTP-in-OpenSimulator.patch|
|2012-05-13 21:45||BlueWall||Note Added: 0021452|
|2012-05-15 23:22||justincc||Note Added: 0021462|
|2012-05-15 23:22||justincc||Status||new => resolved|
|2012-05-15 23:22||justincc||Resolution||open => fixed|
|2012-05-15 23:22||justincc||Assigned To||=> justincc|
|Copyright © 2000 - 2012 MantisBT Group|