Commit 349f2c9
committed
FST: Return EAGAIN instead of EBUSY in case a file is opened for writing via HTTP
This is a hack against the hack in XRootD in the Emsg() function.
We initially wanted to use EBUSY. However, if EBUSY errno is passed in Emsg(), the Emsg() function in XRootD
will return the integer 5 (Hack for proxy support).
This is going to explose when this hack is removed in XRootD 6 hence the
decision to use EAGAIN1 parent 2e7b184 commit 349f2c9
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
| |||
0 commit comments