2021-09-30 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the WebGet service that could cause 'Put'
	operations to return an incomplete status message to the user
	when posting large files.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-09-29 17:57:32 -04:00
parent f3afb10990
commit e574184d79
2 changed files with 5 additions and 2 deletions

View File

@ -22475,3 +22475,7 @@
* Fixed a bug in the rdxport 'Import' service that could result in
incorrect end marker placement when processing variable bit rate
(VBR) MPEG files.
2021-09-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the WebGet service that could cause 'Put'
operations to return an incomplete status message to the user
when posting large files.

View File

@ -461,7 +461,6 @@ void MainObject::PutAudio()
RDSendMail(&err_msg,tr("Rivendell import FAILURE for file: ")+
short_name,body,rda->system()->originEmailAddress(),
to_addrs);
//group->notifyEmailAddress());
}
TextExit(tr("Audio import failed: title already exists!"),400,
LINE_NUMBER);
@ -490,7 +489,7 @@ void MainObject::PutAudio()
args.push_back(filename);
QProcess *proc=new QProcess(this);
proc->start("rdimport",args);
proc->waitForFinished();
proc->waitForFinished(1200000);
if(proc->exitStatus()==QProcess::CrashExit) {
delete proc;
rda->syslog(LOG_WARNING,"importer process crashed [cmdline: %s]",