if(p)
*(p-1) = ':';
-#if defined(IL_NOTIFICATIONS)
+#if defined(IL_NOTIFICATIONS) || defined(IL_WS)
eq->dest_port = atoi(p);
#else
eq->dest_port = p ? atoi(p)+1 : GLITE_JOBID_DEFAULT_PORT+1;
dest_tail = &(p->prev);
eq_d->tail = p;
} else {
+ /* signal that the message was 'delivered' */
+ event_store_commit(p->msg->es, p->msg->ev_len, queue_list_is_log(eq_s));
/* free the message */
server_msg_free(p->msg);
free(p);
tv.tv_sec = TIMEOUT;
tv.tv_usec = 0;
ret = edg_wll_gss_write_full(&eq->gss, msg->msg, msg->len, &tv, &bytes_sent, &gss_stat);
- if(ret < 0) {
+ /* commented out due to the conflict with following ljocha's code
+ if(ret < 0) {
eq->timeout = TIMEOUT;
return(0);
}
+ */
if(ret < 0) {
if (ret == EDG_WLL_GSS_ERROR_ERRNO && errno == EPIPE && events_sent > 0)
eq->timeout = 0;